Download MetaTrader 5

Time functions in strategy tester

To add comments, please log in or register
jt27
46
jt27  
If I use time functions in my EA will they function properly in the strategy tester?  For example, if I use the Time[i] function to detect when a new bar appears will that work in the tester?
Carl Schreiber
7087
Carl Schreiber  
Time[i] is modelled as it is called and that means it is the open time of the bar at index i even of the strategy tester. TimeCurrent() is modelled as well.
To add comments, please log in or register