Invalid Stops means a requested stop loss, take profit or relevant pending-order price does not satisfy the instrument’s rules. MetaTrader 4 documents error 130 and MetaTrader 5 documents return code 10016. Common causes are an incorrect price direction, a stop too close to the relevant quote or a price not aligned to the required increment. Recalculate exposure before changing any stop.
Key facts and checks
| Cause | What to inspect |
|---|---|
| Incorrect stop direction | Buy versus sell and current closing quote |
| Minimum distance | Stops level in points |
| Invalid price increment | Tick size and price precision |
| Modification blocked near market | Freeze level and exact return code |
| Market moved during submission | Latest bid and ask |
MetaTrader’s official symbol properties distinguish the minimum stops distance from the freeze level. The freeze level can prevent modification within a specified zone, and its rejection may be reported separately. For an existing buy position, the closing quote is generally the bid; for a sell position it is generally the ask. Pending-order constraints have additional order-specific rules.
Worked EUR/USD stop-distance example
| Hypothetical five-digit EUR/USD | Value |
|---|---|
| Current bid | 1.10000 |
| Current ask | 1.10020 |
| Minimum distance | 30 points = 0.00030 = 3 pips |
| Buy stop loss at 1.09980 | 20 points below bid; too close |
| Sell stop loss at 1.10040 | 20 points above ask; too close |
Assuming those exact instrument rules, the buy stop loss must be at least 30 points below the current bid, and the sell stop loss at least 30 points above the ask. Prices at exactly the minimum can become invalid when the market changes. Five-digit FX points are not universal: tick size and point conventions differ for metals, indexes and other instruments. Do not automatically move a stop further away just to obtain acceptance.
Recalculate financial risk before editing a stop
Suppose a hypothetical 10,000-unit EUR/USD position has a $1 pip value. Increasing a planned stop distance from five to eight pips changes the nominal price risk from $5 to $8 before spread, slippage and fees. That is a 60% increase. If the strategy cannot accommodate the broker’s minimum stop distance, the order may be unsuitable rather than something to force through. Check the current symbol specifications and supported price increments. For an automated strategy, use the current symbol properties rather than a hard-coded number of decimal places. A stop that is accepted is not necessarily guaranteed to fill at its trigger level. Confirm the server has acknowledged any intended stop modification.
Stop level, freeze level and tick size are different
A price can satisfy the minimum distance but still be off the permitted tick grid. For an illustrative instrument with a 0.25 tick size, 100.10 is not a valid price even if the display shows two decimal places. Obtain the current symbol specification and reassess the planned risk at a valid price; do not automatically round a protective stop in a direction that increases exposure.
Using the earlier EUR/USD example, a 30-point minimum distance means 0.00030 in price, not 30 pips. With bid 1.10000 and ask 1.10020, the boundary prices below assume standard bid/ask stop rules for an existing position.
| Protective order | Reference | Minimum-distance boundary |
|---|---|---|
| Buy position stop loss | Bid | 1.09970 or lower |
| Buy position take profit | Bid | 1.10030 or higher |
| Sell position stop loss | Ask | 1.10050 or higher |
| Sell position take profit | Ask | 1.09990 or lower |
These are mathematical boundaries, not suggested order prices. The actual quote may move before acceptance. MQL5 symbol properties separately define point size, trade tick size, stops level and freeze level. A price can have the correct number of decimal places yet be off the permitted tick grid.
For example, if a hypothetical instrument permits 0.25 price increments, 100.10 is not a valid grid price. Check the required price direction and rounding before any submission. If widening a protective stop would increase risk beyond the intended limit, reconsider the order rather than automatically changing the stop.
Frequently asked questions
What is error 130? MT4 invalid stops.
What is error 10016? MT5 invalid stops.
Does a zero displayed stops level guarantee acceptance? No; other broker and market restrictions may apply.
Conclusion
Use the correct reference quote, current stops and freeze levels and valid tick increments. Confirm any change is accepted and do not increase financial risk simply to eliminate an error. Related guides: stop not triggered guide; unexpected stop triggers; trade rejection codes.
Primary sources
Stop and freeze level documentation
Risk information: General educational information, not personal investment advice. Capital is at risk; leveraged products can cause substantial losses.



