- Orders close prematurely
- Having pending order in the Trade list and they are "request cancelling" ,?
- Questions from Beginners MQL5 MT5 MetaTrader 5
may be you have set the time limit for every pending order.
and you were just unaware about that.
- Expiration time.
- Insufficient free margin at time of activation.
I have placed a couple of pending orders. Buy stop and sell stop.
Hey Paul
Did you find what was going on for you? I'm having the same problem here.
Already checked expiration time, free margin and the problem wasn't there. It's funny that sell stop orders works really fine.
I also already checked if it was the ask price > bid price at the moment of sending the order but that's not it also.
On backtest either buy stops or sell stops works fine without any warning. I really don't know what is hapenning.
I'm considering execute buy orders by market if I have no solution for this problem.
Eddited: found it. It was a little mistake on another part of the code that was resulting on the exclusion of the order as soon as it was plotted on the chart.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use