MetaTrader VPSmeasured broker database · metatrader-vps.com
HomeTools › Stops-Level Checker

Stops-Level & Min-Distance Checker

Short answer“Error 130 / invalid stops” means your stop-loss or take-profit is closer to price than the broker's minimum distance (the stops level). Convert a stops level in points into a real price distance below, and see how to fix it.
Minimum SL/TP distance
In pips (FX)

How to fix error 130 (invalid stops)

  1. Read SYMBOL_TRADE_STOPS_LEVEL in your EA and never place SL/TP closer than that distance from price.
  2. Add a buffer (e.g. stops level + spread) so a widening spread at news or rollover doesn't invalidate the order.
  3. For market orders that must set SL/TP, send the order first, then modify SL/TP once the position exists.
  4. Check the broker's execution model — Instant execution plus a large stops level is the classic error-130 combination.

Frequently asked questions

What causes error 130 (invalid stops)?
Your stop-loss or take-profit is closer to the current price than the broker's minimum stops level, or the price is stale. Widen the distance beyond the stops level plus current spread.
What is the stops level in MetaTrader?
SYMBOL_TRADE_STOPS_LEVEL — the minimum distance (in points) that a pending order or SL/TP must be from the current price.
Your EA deserves a real server
Host MT4/MT5 on a VPS milliseconds from your broker — faster fills, less slippage, and your strategy runs 24/7 at 99.9% uptime even when your PC is off. Built for scalpers, news traders & automated EAs. Get MetaTrader VPS hosting →
Get this data via API
The MetaTrader data API that powers this database — symbols, quotes, specs. API access at API2Trade →
Free broker report + 10% off your VPS