I am backtesting an EA using MT5 and the TickStory database.
I downloaded 2015 history until December 28, 2020.
The problem is that in May the EA tries to open orders and the history says that the market is closed and the backtest stops.
I am attaching the Metatrader image as an attachment.
MT5 backtest problem - Market closed
Re: MT5 backtest problem - Market closed
Hi Thiagompereira
This seems to be an MT5-specific error that has been raised in a few MQL threads such as:
https://www.mql5.com/en/forum/355734
https://www.mql5.com/en/forum/347212
I would suspect it has something to do with the setup of the custom symbol in MT5. Maybe try copying the symbol from a working one if you haven't done so already. It might also have something to do with making sure session times are 24 hours.
Hope this helps.
This seems to be an MT5-specific error that has been raised in a few MQL threads such as:
https://www.mql5.com/en/forum/355734
https://www.mql5.com/en/forum/347212
I would suspect it has something to do with the setup of the custom symbol in MT5. Maybe try copying the symbol from a working one if you haven't done so already. It might also have something to do with making sure session times are 24 hours.
Hope this helps.