"Market Closed" Issue (again/unresolved)
-
Re: My backtest EA stops due to "Market closed" message in the Journal tab
Hi All,
Regarding the post mentioned above on the "Market Closed" issue...
I love fxDreema but this is the ONE REAL ISSUE that I have come across and can't find a way around. @fxDreema
I have tried the ideas that have been mentioned on the few posts on this matter but nothing works for me.
It is logical to expect that you are asking the EA to trade when the market is closed, and so the error occurs. But I don't think this is the case. Third party EAs do not show the same error within the same trading periods.
Does anyone know of a solution that works for this issue?
Thanks,
Dre
-
@dre
Add logic after your buy/sell block when broker server did not successfully processed the order due to their DB is not yet opened.
It is usually happened at the start day of week before the Broker server open eventhough there are tick event received by EA but the broker server is not yet ready to accept trade events from EA (e.g. Sell order, close trade etc...) -
When market is closed, there is nothing you can do manually or using EA.
So if you use Time to trade, you should know when the server of the broker open/close.
Not fair for the broker if traders can setup traps when they are not working.
Like a restaurant, there's nothing you can order when they closed. -
HI
guys he talking about backtest no live market!I never had this issue in backtesting. i had more than 1000 backtest in different EA.
Just I think you should try with a demo account from another broker and see the result
or share your project link and I can test with my broker.
Maybe your broker can download full data for the backtest and EA cant working -
Look for the time your broker closes, then use a timefilter. For example my broker closes at 00:00 UTC +2. I then set a timefilter in front of all trade and close conditions with settings start 00:05 and end 23:55. Now my journal does not get stuck anymore and I can backtest the strategy.