You may encounter a situation where your pending orders are not executed or disappear on the MetaTrader (MT) platform. This may be due to a few reasons.
If your trading terminal ever presents an error message in the journal tab, we encourage you to search our terminal errors section to find out more about the error.
Here are a few errors reflecting why a pending order could have been canceled:
Canceled pending orders
A pending order can be canceled for 2 reasons:
- When a client intentionally cancels their pending order.
- When the pending order is canceled due to the expiration date.
Note: Please take note of the expiration date and time of each pending order to avoid cancellation.
Deleted pending orders
A pending order can be deleted due to low leverage or insufficient funds. A pending order is automatically deleted when there are not enough funds to open it.
Cancel/Gap or Stop-Loss Violated (SL Violated)
When a client receives an error of [canceled/gap] or [SL violated], the pending order is not executed due to the Price Gap Protection. Stop orders and limit orders can both fail execution because of Price Gap Protection; some examples are provided below.
A client set a EURUSD buy stop order at 1.37450 and Take Profit (TP) at 1.37650.
The opening price that was set falls into a gap and is executed according to the Price Gap Protection at the first available market price -1.37700. The TP price falls into a gap as well. However, as the difference between TP and the first market price is less than the gap level (8 points), TP will be executed at the level set by the client.
Thus, the order TP price of 1.37650 is lower than its activation price of 1.37700, resulting in a loss.
Hence, the pending stop orders are canceled with the error [SL Violated] to avoid such loss.
A limit order can fail to execute if the stop-loss price is higher than the activation price.
A client set a EURUSD buy limit order at 1.18203 and Stop-Loss (SL) at 1.18153.
The opening price which the client set falls into a gap and is executed according to Price Gap Protection at the first available market price of -1.18093. SL price falls into a gap as well.
However, the difference between SL and the first market price is less than the gap level (8 points). Based on this, the SL should be executed at the level set by the client. Hence, the order SL price of 1.18153 is higher than the activation price of 1.18093.
To avoid such profit, such pending limit orders are canceled with the error [SL Violated].