Slippage on XAUUSD: How to Measure It From Your MT5 History in 6 Steps

6 December 2026, 12:58
Muhammad Zain Asghar
0
9

Slippage is the difference between the price your EA asked for and the price your broker actually filled. On gold (XAUUSD) it matters more than on most symbols, because gold can move several dollars in a second around US news, the London open and Monday's first minutes. Two brokers can run the same EA with the same settings and still end the month with different results, and slippage is often a big part of the gap. Here is how we measure it from an ordinary MT5 history, without any extra tools.

1. Know where the requested price is

For a pending order (buy stop, sell stop, limits), the requested price is the order price itself. For a stop loss or take profit, it is the SL or TP level that was set on the position. Market orders sent by the EA are harder to judge from history alone, so start with pending orders and SL/TP closes.

2. Export the history

In MT5, open the Toolbox, go to the History tab, right-click and choose Report, then save it as Excel (or HTML). Use the "Positions" view so each trade shows its open price, close price, SL and TP on one line, and the "Orders" view to see the original price of every pending order.

3. Calculate slippage per trade

  • Entry slippage = fill price minus order price (for a buy), or order price minus fill price (for a sell). A positive number means you were filled worse.
  • Exit slippage on a stop loss = how far past the SL the position was closed.
  • Divide by the point size from the symbol specification to see it in points, and multiply by the lot and contract size to see it in money.

4. Look at the pattern, not one trade

One bad fill during a news spike is normal. What you want to know is the average and the worst 10% over a full month: how many trades were filled worse than requested, by how much, and at what time of day. Sort by hour and you will usually see the problem cluster around the London open, the 8:30 New York data and the first minutes after the weekly open.

5. Compare brokers fairly

If you test more than one broker, start them on the same day, with the same EA build, the same settings file and the same balance, ideally on VPS servers close to each broker's trade server. Compare positive and negative slippage, not only the negative side: a fair execution model gives some fills better than requested too.

6. What you can change

  • Run the terminal on a VPS near the broker's server (check the ping in the MT5 status bar).
  • Avoid opening new trades in the minutes around major US news.
  • Prefer account types with tighter, more stable spreads on XAUUSD.
  • If one broker is consistently worse over a whole month, the data is your best argument when you contact them.

More on the other hidden cost of every gold trade: gold spread explained.

Trading gold carries risk, and you can lose money. Backtests and live records show past behaviour and do not guarantee future results.