The short answer
Your stop was hit by the ask price, but your chart only shows the bid. On MT4, MT5 and most charting platforms, every candle is drawn from the bid. If you are short gold, your position is closed by buying, and you buy at the ask, which is higher than the bid by the spread. So a short stop-loss triggers when the ask reaches it, even though the bid candles on your chart stop short of it.
If you are long, the stop is checked against the bid, which is what the chart shows, so this problem mainly affects sell trades and buy stop pending orders. It is not a glitch and usually not stop hunting. It is how every bid/ask market works.
Which price triggers which order
| Order or level | Checked against | Why |
|---|---|---|
| Stop-loss on a buy (long) | Bid | You close a long by selling, at the bid |
| Take-profit on a buy | Bid | Same reason |
| Stop-loss on a sell (short) | Ask | You close a short by buying, at the ask |
| Take-profit on a sell | Ask | Same reason |
| Buy stop / buy limit (pending) | Ask | It opens a buy |
| Sell stop / sell limit (pending) | Bid | It opens a sell |
This is how MetaTrader describes its own rules: buys execute at the ask, sells at the bid, and protective levels on a position are checked against the price that would close it. Our guide to the gold bid and ask price explains why the two prices exist at all.
A worked example (illustrative numbers)
You sell 0.10 lot of XAUUSD at a bid of $4,000.00. The recent high on your chart is $4,010.00, and you put your stop-loss at $4,010.30, just above it.
- During normal hours the spread is, say, $0.25. When the bid reaches the high at $4,010.00, the ask is $4,010.25. Your stop survives by 5 cents.
- Late in the New York afternoon, near the daily break, liquidity is thin and your broker’s spread widens to, say, $1.20. The bid drifts up to only $4,009.20, a dollar below the high, but the ask is $4,010.40. Your stop at $4,010.30 is triggered.
Your chart shows a candle that never even touched the old high. Your trade history shows a close at about $4,010.40. Both are correct: the chart shows the bid, the fill shows the ask.
On 0.10 lot, each $1 of gold is worth $10, so the loss here is about $104 plus costs. Check the value of any distance with the gold pip calculator.
When the spread is widest (real data)
The bid/ask gap is not constant. It widens when fewer prices are being quoted:
- Around the daily break (5:00 to 6:00 pm New York time). On two years of hourly COMEX gold data (30 October 2024 to 30 October 2026), the last hour before the break was the quietest hour of the day: a median range of $7.60, against $13.00 for an average hour. Quiet means thin, and thin means wider spreads. See why gold spreads widen at rollover for the full hour-by-hour table.
- At the Sunday open, when the week restarts.
- Around US data such as NFP and CPI at 8:30 am New York time.
- On holidays and shortened sessions.
Futures data does not record any broker’s spread, so we can’t give you a universal number. The pattern of thin hours is what matters, and your own platform’s spread line will show you the rest.
How to check what really happened
- Open your trade history (Toolbox → History in MT4/MT5, or the History tab on mobile). Note the exact close time and price.
- Turn on the ask line: right-click the chart → Properties (F8) → Common → tick Show Ask line. Now you see both prices.
- Go to a lower timeframe (M1) at the time of the close. If the bid was roughly one spread below your stop, the ask triggered it.
- Check the time. If it was within an hour of the daily break, the Sunday open or a data release, a widened spread is almost certainly the cause.
- If the fill was far beyond your stop and the ask never got there, take screenshots and ask your broker for the tick history. That is a different issue from the one on this page.
A stop-loss is not a guaranteed price. When it triggers it becomes a market order and fills at the next available price, which can be worse in a fast market. That is slippage, explained in gold slippage.
Five fixes that work
- Add the spread to every short stop. Place it beyond the level by your normal spread plus a buffer for widening. A volatility-based distance helps: the ATR stop-loss calculator gives you a stop that respects normal noise, and the lot size that keeps your risk the same.
- Avoid round numbers and obvious highs. Many traders place stops just beyond the same high. Price often reaches through it, which is why we have a whole lesson on liquidity sweeps.
- Be careful near the daily break. If your stop is tight, either close before 5:00 pm New York time or widen the stop and cut the size. The market hours tool shows the break in your time zone.
- Keep size small enough for a wider stop. A wider stop with a smaller lot risks the same money. The position size calculator does the arithmetic.
- Watch the calendar. Spreads jump around scheduled releases. Our gold economic calendar lists them in your time zone.
How to prevent it from now on
- Keep the ask line switched on permanently on every gold chart.
- Write your normal spread, and your worst spread, in your trading plan for each session.
- For shorts, think in ask prices: “stop at the high plus spread plus buffer”.
- Review every stopped-out trade where the candle “didn’t touch”. If most are shorts near the daily break, you have found your pattern.
More fixes for common XAUUSD problems are collected in gold trading problems solved, and the full picture of trading costs is in XAUUSD spreads, commissions and swaps.
Ask other traders before you blame the broker
A second pair of eyes on your history screen often settles it in two minutes. In the XAUUSD Global community traders compare fills, spreads and stop placement every day. The first month is free, then $19.99 a month.
Educational content only, not financial advice. Trading gold with leverage carries a high risk of loss. Spreads in the example are illustrative; check your own platform.
Frequently asked questions
Why was my gold stop-loss hit when the price didn't reach it?
Almost always because of the spread. MT4, MT5 and most charts draw the bid price. A buy closes at the bid, but a sell (short) closes at the ask, which sits above the bid by the spread. If you are short, your stop is hit when the ask reaches it, even if the bid candle on your chart stays below.
Do buy stop-losses and sell stop-losses trigger on different prices?
Yes. A long position is closed by selling, so its stop-loss and take-profit are checked against the bid. A short position is closed by buying, so its stop-loss and take-profit are checked against the ask. Pending sell stops trigger on the bid and pending buy stops on the ask.
How do I see the ask price on my MT4 or MT5 chart?
Right-click the chart, open Properties (F8) and tick ‘Show Ask line’ on the Common tab. A second line appears above the bid line, and the gap between them is the live spread.
Is my broker hunting my stops?
Usually not. The common cause is the spread, which widens at the daily break, the Sunday open and on news. Compare the ask at the moment of your stop with the price in your trade history. If the fill matches the ask, the stop worked as designed.
How much room should I add to a short stop on gold?
At least the normal spread plus a margin for widening. If your usual spread is $0.25 and it can widen to $1 or more at quiet hours, a short stop placed exactly $0.20 above a high will be hit by the spread alone. Place it beyond the level plus the spread you could face while the trade is open.
Can a stop-loss be filled worse than the price I set?
Yes. A stop-loss becomes a market order when triggered and fills at the next available price. In fast markets or at the Sunday open that can be worse than your level. That is slippage, a separate issue from the bid-ask effect.
Sources and further reading
- MetaTrader 5 Help — Trading operations: basic principles — Order types, and which price (bid or ask) triggers each order and stop
- Investor.gov — Stop order — How stop orders work, and their limits in fast markets
- CME Group — Gold futures overview — Contract specifications and trading hours for COMEX gold
External sites are independent of XAUUSD Global. Check dates and data yourself.