Time filter,server time and local time option
-
Helllo, congratulations fxDreema for your great software
I have a doubt in relation with Time filter block, the results are the same with option server time and localtime, and that can´t be Right because my robot depends much of the time when it put the pending orders. Between 20:00 and 04:00 and just in the case that price crossover one moving average it put a grid of pending orders.
Is it possible that Metatrader 4 in backtesting use only local time or server time?, do you know wich one it use? or can be that the block time filter have an error, bug and it use always the same option?
Thank you very much¡
-
https://www.mql5.com/en/docs/runtime/testing#time
__During testing, the local time TimeLocal() is always equal to the server time TimeTradeServer(). In turn, the server time is always equal to the time corresponding to the GMT time - TimeGMT(). This way, all of these functions display the same time during testing.
The lack of a difference between the GMT, the Local, and the server time in the Strategy Tester is done deliberately in case there is no connection to the server. The test results should always be the same, regardless of whether or not there is a connection. Information about the server time is not stored locally, and is taken from the server.[/quote:qdo9sokh]