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 common 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.
Please take note of the expiration date and time when placing a 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 you receive a [canceled/gap] or [SL violated] error, the pending order is not executed due to the slippage rule. Stop orders and limit orders can both fail execution because of the slippage rule; some examples are provided below.
A stop order can fail to execute if the take profit price is lower than the activation price.
Example 1:
You 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 slippage rule at the market price (MP) at the time of the execution (MP = -1.37700). The TP price falls into a gap as well, but as the difference between TP and the MP is less than the gap level (8 points), the TP will be executed at the level you set.
So the order’s TP price of 1.37650 is lower than its activation price of 1.37700, resulting in a loss .
The pending stop orders are canceled with the error [SL Violated] to avoid losses. Similarly, a limit order can fail to execute if the stop-loss price is higher than the activation price.
Example 2:
You set a EURUSD buy limit order at 1.18203 and stop loss (SL) at 1.18153.
The opening price falls into a gap and is executed according to the slippage rule at the first available market price (MP) of -1.18093. The SL price falls into a gap as well.
However, the difference between SL and the MP is less than the gap level (8 points). Based on this, the SL should be executed at the level set.So the order SL price of 1.18153 is higher than the activation price of 1.18093. Pending limit orders are canceled in this case with the error [SL Violated] to prevent unintended profit.