New MetaTrader 5 platform build 1880: Calculation of the complete history of synthetic symbols - page 2
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
New MetaTrader 5 platform build 1880: Calculation of the complete history of synthetic symbols
The updated version of the MetaTrader 5 platform will be released on July 6, 2018. The new version features the following changes:
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). Now, the history is calculated using all available data unconditionally.
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:
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.
On Recent updates Metatrader 5 allow us to create custom symbols (Synthetic Instruments Formula )
I ve already created USDX and EURX myself but GBPX and JPX are little tricky I guess Since I dont have any programing background could some one tell me how to rewrite the formulas accordingly on MT5 Thanks
$DXY FORMULA50.14348112 × EURUSD-0.576 × USDJPY0.136 × GBPUSD-0.119 × USDCAD0.091 × USDSEK0.042 × USDCHF0.036
$DXY FOR MT550.14348112*pow(ask(EURUSD),-0.576)*pow(USDJPY,0.136)*pow(ask(GBPUSD),-0.119)*pow(USDCAD,0.091)*pow(USDSEK,0.042)*pow(USDCHF,0.036)
GBPX = 46.2807334033003 x EURGBP-0.3134 x GBPUSD0.2274 x GBPJPY0.0479 x GBPCHF0.0439 x (GBPUSD*USDSEK)0.0252
?JPX: [¥80,000 – (81.15USD/JPY × $123) – (108.63EUR/JPY × €92) – (63.13NZD/JPY x NZ$ 158) – (82.95AUD/JPY × AU$121)] / Divisor
choose Divisor = 80000. Then added 100 to the formula.
?