---
title: "MetaTrader 5 build 1880: calculation of the complete history of synthetic symbols - Release Notes"
description: "Added calculation of the price history of synthetic symbols for the entire available data depth. - Release Notes"
image: "https://www.metatrader5.com/i/logo_metatrader5.png"
url: "https://www.metatrader5.com/en/releasenotes/terminal/1880"
---

# MetaTrader 5 build 1880: calculation of the complete history of synthetic symbols

## Added calculation of the price history of synthetic symbols for the entire available data depth

6 July 2018

### Terminal

1. Added calculation of the price history of [synthetic symbols](https://www.metatrader5.com/en/terminal/help/trading_advanced/custom_instruments#synthetic) for the entire available data depth.The platform calculates the history of one-minute bars based on minute bars of instruments as applied in its formula. Previously, the history was only calculated for the last two months. A deeper history could be created upon an explicit request (when scrolling the chart to the left or calling [Copy functions](https://www.mql5.com/en/docs/series/copyrates)). Now, the history is calculated using all available data unconditionally.

   ![](https://c.mql5.com/3/204/synthetic_instrument__1.png)

   Each symbol used in the synthetic formula can have price history of different depth. Synthetic history calculation is performed for the shortest available period. For example, the formula uses three financial instruments:

     - EURUSD with the history down to 2009.01.01
     - USDJPY with the history down to 2012.06.01
     - EURJPY with the history down to 2014.06.01

   In this case, the history of the synthetic symbol will be calculated for a period from 2014.06.01 to the present. 100 minutes will be additionally discarded from this date, to ensure the calculation integrity (if any minute bar is not available in history, a previous minute bar is used in the calculation). If deep history of used symbols is available, the synthetic symbol history calculation can take quite a long time. To enable immediate synthetic symbol chart view, the history for the last two months is calculated first (similarly to calculations in previous versions). Calculation of an earlier history begins after that.

### MQL5

1. New property ACCOUNT_CURRENCY_DIGITS — the number of decimal places in the account deposit currency. Use the [AccountInfoInteger](https://www.mql5.com/en/docs/account/accountinfointeger) function to get the property. You may use the property when [calculating profit](https://www.mql5.com/en/docs/constants/environment_state/marketinfoconstants#enum_symbol_calc_mode) on your own, to normalize the values ​​obtained.
2. Fixed delay in the execution of [Copy functions](https://www.mql5.com/en/docs/series/copyrates) and [i-functions](https://www.mql5.com/en/docs/series/ibars) during operations with the weekly timeframe.
3. Fixed operation of the [WebRequest](https://www.mql5.com/en/docs/network/webrequest) function.

### Tester

1. Added ability to perform a single Expert Advisor test after downloading [optimization results from a cache file](https://www.metatrader5.com/en/terminal/help/algotrading/strategy_optimization#cache).
2. The new version features a faster initial download of price history by local agents.

Documentation has been updated.

**Earlier publications:**

- [MetaTrader 5 build 1870: adding symbols to Market Watch by ISIN](https://www.metatrader5.com/en/releasenotes/terminal/1870)
- [MetaTrader 5 build 1860: MQL5 functions for operations with bars and Strategy Tester improvements](https://www.metatrader5.com/en/releasenotes/terminal/1860)
- [MetaTrader 5 Platform Build 1755](https://www.metatrader5.com/en/releasenotes/terminal/1755)
- [MetaTrader 5 Platform Build 1745](https://www.metatrader5.com/en/releasenotes/terminal/1745)
- [MetaTrader 5 Build 1730: projects in MetaEditor and Synthetic financial instruments](https://www.metatrader5.com/en/releasenotes/terminal/1730)
