Download MetaTrader 5
To add comments, please log in or register
Your broker does not support mobile MetaTrader 5? Ask him to buy them!
Daniel Stein
19604
Daniel Stein 2014.04.13 13:57 

Hi guys,

is there any possibilty to calculate the difference between servertime and london time in backtest operating mode???

In real/demo trading environment this is more or less easy but all of these functions are useless in the strategy tester

because the only time you get is the simulated TimeCurrent() value and you can't compare it to any other value.


Any ideas how to solve this problem ?

whroeder1
13596
whroeder1 2014.04.13 15:32  
The difference is a constant +/- London's DST (BST) and broker's DST (if any.) You'll have to write some code for each DST like I did for NY DST.
/
To add comments, please log in or register