I am programming an ea that places a trade once a day after the new day candle opens. But sometimes I get the warning "Trade Failure, Market Closed".
How do i re-send the trade if it doesn't open?
- Instant Execution - Opening and Closing Positions - Trade - MetaTrader 5 for iPhone
- Instant Execution - Opening and Closing Positions - Trade - MetaTrader 5 for Android
- Opening and Closing Positions - Trade - MetaTrader 5 for Android
hi, try to know the timezone and what time exactly your broker operates. then modify your program accordingly.
Joel Protusada:
hi, try to know the timezone and what time exactly your broker operates. then modify your program accordingly.
hi, try to know the timezone and what time exactly your broker operates. then modify your program accordingly.
Smart, thanks
Most/all brokers close for several minutes at the start of a new day for swap calculation.
Modify your EA. If the order fails, reset your new bar test and wait for the next tick.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register