ゴールド

How to Check Stop Levels at Overseas FX Brokers for XAUUSD | Causes and Solutions for Gold EA Order Errors

2026-09-11  / Ya

When running EAs or discretionary trades on Gold (XAUUSD), you may encounter issues such as “stop orders won’t go through” or “I can’t place my SL at the price I want.” In most cases, the root cause is an overlooked “Stop Level” specification in MT4/MT5. This article covers the definition of stop levels, how to calculate them, typical settings across overseas FX brokers, and their practical impact on EA operations.

What Is a Stop Level?

A Stop Level is a parameter in MT4/MT5 that prohibits placing stop orders (stop entries, stop losses, and take profits) within a certain distance of the current market price. The unit is “points,” and brokers configure this value server-side on a per-symbol basis.

Since XAUUSD is quoted to two decimal places (e.g., 2,340.55), 1 point equals $0.01. If the stop level is 30 points, no pending order of any kind can be placed within $0.30 of the current price.

There are two ways to check this. In MT4/MT5, right-click the symbol you want to trade and open “Specification” to see the Stop Level value. Alternatively, it may be listed on the broker’s official specification sheet, though values can change, so checking within the platform is the most accurate method.

Even when the stop level displays as “0,” a separate effective constraint derived from the spread still exists. Interpreting “stop level 0” as “orders can be placed anywhere” is incorrect; details are explained below.

Examples, Formulas, and the Concept of Effective Minimum Distance

The following table summarizes whether an SL can be placed when the XAUUSD stop level is 20 points (= $0.20).

Scenario Current Price (Bid) Intended SL Distance (pt) Result
Accepted2,340.002,339.7030ptOrder placed successfully
Rejected2,340.002,339.8515pt“Invalid stops” error
Rejected2,340.002,340.1515pt (Ask side)“Invalid stops” error

When an EA calls OrderSend or PositionOpen-family functions, if the stoploss argument falls within the restricted range, ERROR_INVALID_STOPS (error code 130) is returned and the order fails. If “invalid stops” appears in EA logs, this constraint should be the first thing you investigate.

What matters most in practice is the “effective minimum distance,” which combines the stop level and the spread.

Effective minimum distance (pt) = Stop Level (pt) + Current Spread (pt)
Effective minimum distance ($)  = Effective minimum distance (pt) x 0.01

The typical XAUUSD spread ranges from roughly 2 to 10 points depending on account type, but it can widen to 30-100 points or more immediately after major releases such as NFP (US Non-Farm Payrolls) or CPI. Even if the stop level itself is 0, attempting to place an SL at that moment will be rejected.

Common Pitfalls for Beginners

  • Misreading “stop level 0” as “no restriction”: Even when the stop level shows 0, the spread always introduces a distance constraint. During quiet sessions this is rarely a problem, but at the moment of a major news release, SL modifications or EA orders may be rejected, leaving you exposed to unintended risk. Always keep in mind the formula: effective minimum distance = stop level + spread.
  • Backtest behavior diverging from live performance: MT4/MT5 strategy testers simulate stop level constraints using a fixed value, but their ability to reproduce real-time spread fluctuations is limited. Orders that pass cleanly in testing may fail frequently during peak hours on a live account, causing EA logic to malfunction. As explained in Key Metrics for Gold EA Backtesting, forward verification on a real account is indispensable alongside backtest results.
  • Settings changing when you switch account types or brokers: Even within the same broker, stop levels can differ between Standard and ECN/RAW accounts. Brokers may also temporarily raise stop levels in response to server load or liquidity conditions, meaning the rules can change unexpectedly while your EA is running. It is recommended to build a habit of checking specifications roughly once a month.
  • Widening the SL breaks your risk-reward ratio: On accounts with large stop levels, you are forced to stretch the SL beyond the EA’s designed width. For example, running an EA designed for a 20-point SL on an account with a 50-point stop level means you must set the SL to at least 55 points, increasing the risk per trade by approximately 2.5x or more. The benchmarks covered in Expected-Value Metrics: PF, RRR, and More lose their meaning unless evaluated alongside actual account conditions. The pattern of resorting to martingale averaging when a proper SL cannot be set is particularly dangerous; Why Martingale EAs Suffer Deep Drawdowns analyzes that structure in detail.

FX AI Lab’s Perspective

Through our ongoing verification of EAs designed for XAUUSD, we have identified stop levels as one of the primary factors that create gaps between backtesting and live performance. The SMC-based Gold EA currently under development and testing at our lab is designed to dynamically calculate the effective distance from both the stop level and spread at the same time as entry conditions are evaluated, thereby avoiding order failures. When selecting a broker, it is important to evaluate not only trading costs (spread and commission) but also the transparency of specifications, particularly the low and stable nature of stop levels. We continue to verify real-world conditions on both HFM demo and live accounts. If you are considering opening an account, please confirm the stop level in advance using an actual demo account.

Related Links

This article is provided for informational purposes only and does not constitute a solicitation to invest in any specific financial product or broker. FX and precious metals trading carry the risk of loss of principal, and losses may exceed the amount invested. Please review our Risk Disclosure for full details.