MARKET CLOSED
-
I have the common closure of the blocks, when I do the backtest it gives me the error market closed when it has to close the positions, if I use the close purple block it works but I cannot use it because it also closes other operations and how can I solve? i tried three different brokers always the same problem
-
@luanainteglia What is that backtesting error exactly? Markets are not closed in backtesting.
-
I HAVE OPEN OPERATIONS IN THE GRID, SOME CLOSES AND OTHERS STAY OPEN AND THE FOLLOWING ERROR COMES OUT, I HAVE NO STOP LOSS I HAVE THE LOCKING IN COMMON AND I ALSO USE THE PURPLE LOCK BUT IT DOES ALSO ... THIS IS A BUG THAT IS NOT GOOD AT ALL!

-
@l-andorrà I think that I will not renew the subscription to fxdreema anymore .. this is an important bug and you do not solve it in any way ... I spent money to try to buy the ticks but the error remains even changing the brokers, I am 10 days that I waste time ... reluctantly I have to leave fxdreema
-
@l-andorrà https://fxdreema.com/forum/topic/9582/help-with-error-market-is-closed-during-backtest-mt5
it was already talked about a year ago and it has not been resolved -
@luanainteglia Did you contact the admin to let him know? He should be able to provide an answer.
-
I had the same issue. I contacted my broker & they confirmed that with them the market is closed from 23:58 to 00:04 I was trading the daily bar with the trades happening at the start of the new bar so the market closed error was valid Opened a demo with another broker they do not close the market & The EA now runs OK
Some brokers close the market & some do not. A problem with trading at the start of the new day is that the spread can get bigger. So I will try & modify my ea to trade a few minutes before or after the close of the daily bar -
@luanainteglia same, Bug continue existing. For the moment, only what occurrs me is make a condition to if "market is closed" then do something... like wait or idk
-
@dore use time filter above all your buy, sell and close trading action. interval 00:04 - 23:58
-
Just wanted to pop in and say thank you. The time filter between 00:04-23:58 solved this issue that I had been having repeatedly when backtesting. Cheers!
-
This topic is old and if there was a problem, maybe I fixed it, I don't remember.
But I actually have this Market is closed problem when I'm trying to trade in the Init event, and this happens in the Tester, it works for me when Live. I don't know the reason fot that and I have not investigated it.