Home › Trading Intelligence › Brokers › How to Fix the Invalid Stops Error in MT4 and MT5

How to Fix the Invalid Stops Error in MT4 and MT5

Published: 30/11/2026 Updated: 30/11/2026 Read Time: 3 min read Author: TradersTrusted
Featured image

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

CauseWhat to inspect
Incorrect stop directionBuy versus sell and current closing quote
Minimum distanceStops level in points
Invalid price incrementTick size and price precision
Modification blocked near marketFreeze level and exact return code
Market moved during submissionLatest 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/USDValue
Current bid1.10000
Current ask1.10020
Minimum distance30 points = 0.00030 = 3 pips
Buy stop loss at 1.0998020 points below bid; too close
Sell stop loss at 1.1004020 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 orderReferenceMinimum-distance boundary
Buy position stop lossBid1.09970 or lower
Buy position take profitBid1.10030 or higher
Sell position stop lossAsk1.10050 or higher
Sell position take profitAsk1.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.

Practical checklist
1. Read current bid, ask and position direction.
2. Check minimum stop distance and tick size.
3. Calculate the exposure implied by the proposed stop.
4. Confirm the server accepted the instruction.

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

MQL4 error codes

MQL5 return codes

MQL5 symbol properties

Stop and freeze level documentation

Risk information: General educational information, not personal investment advice. Capital is at risk; leveraged products can cause substantial losses.

Subscribe To Our Newsletter?

Discover The Top Brokers, Educators & Prop Firms Trusted By Real Traders!

Join 20,000+ Active Monthly Traders Gaining The Edge With Expert Insights.

We don’t spam! Read our privacy policy for more info.

Your Trading Experience Starts Here!

By providing your email, you agree to receive updates and promotions from us. You can unsubscribe anytime. Learn more about how we handle your data in our Privacy Policy.

Share: