How to calculate LondonTime/ServerTime in Strategy Tester?
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.
You agree to website policy and terms of use
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 ?