Dear
Some this my EA stack in backtest for [Market Closed] problem.
This problem show not all broker account. It show some broker. Is there any why i can't overcome this problem in MQL code?
Please help me someone
This is normal, your EA is trying to open a trade right at midnight, 00:00:00 server time, when most brokers and markets are closed.
If your EA keeps trying, you will be able to open this trade a few minutes later.
If you haven't coded your EA in a way that will keep trying for a few minutes and stops after a few attemps, then it will not open the trade.
By the way, you've asked the same thing a year ago: https://www.mql5.com/en/forum/3874792022.07.22 is 22nd of July 2022, and it was Friday.
As to the time (00:00:00) so it may be midnight (between the Friday and Sunday).
But the forex market is closed during the weekend.
So, the forex market may be started to be closed for some brokers at this time.
2022.07.22 is 22nd of July 2022, and it was Friday.
As to the time (00:00:00) so it may be midnight (between the Friday and Sunday).
But the forex market is closed during the weekend.
So, the forex market may be started to be closed for some brokers at this time.
The EA is trying to open the trade on the 22nd of July 2022, Friday at 00:00:00 Sergey, so its Friday morning, not night.
Yes!
Allows receiving time of beginning and end of the specified quoting sessions for a specified symbol and day of week.
Allows receiving time of beginning and end of the specified trading sessions for a specified symbol and day of week.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Dear
Some this my EA stack in backtest for [Market Closed] problem.
This problem show not all broker account. It show some broker. Is there any why i can't overcome this problem in MQL code?
Please help me someone