MT5 backtest problem - Market closed

Report any bugs with the Tickstory Lite software here. Please give as much detail as possible so the issue can be identified and resolved as soon as possible.
Post Reply
thiagompereira
Posts: 1
Joined: Tue Jan 05, 2021 4:47 pm

MT5 backtest problem - Market closed

Post by thiagompereira »

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.

Error_TickStory.png

tickstory
Posts: 4883
Joined: Sun Jan 06, 2013 12:27 am

Re: MT5 backtest problem - Market closed

Post by tickstory »

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.

Post Reply