Risk & process

Order Types and Execution for Gold (XAUUSD): Market, Limit, Stop Orders, Spreads and Slippage

Good analysis can still lose money if the order behind it is wrong. This guide explains every common order type, which side of the spread triggers your gold stops, why spreads widen at rollover and news, and how slippage, partial fills and requotes really work, ending with an execution checklist.

BeginnerRisk & processLesson 41 of 41

What order types and execution are

An order is your instruction to the broker to buy or sell. Execution is how and at what price that instruction gets filled. Two traders with the same analysis can get different results simply because one uses the wrong order type, places a stop on the wrong side of the spread or enters during a spread spike.

Every gold order involves two prices:

  • Bid: the price you can sell at.
  • Ask: the price you can buy at.
  • Spread: ask minus bid. It is a cost you pay on every round trip.
Action Fills at
Market buy (open long or close short) Ask
Market sell (open short or close long) Bid

Most trading platforms, including MT4 and MT5 by default, draw candles from the bid. The ask is invisible on the chart unless you turn on the ask line. This single fact explains many “my stop was hit but the chart never touched it” complaints.

How it behaves on gold (XAUUSD)

Gold has execution features that matter more than in many markets:

  • Contract size. On most brokers 1 lot = 100 oz, so a $1 move is $100 per lot and $1 per 0.01 lot. A $0.40 spread costs $40 per lot per round trip. See XAUUSD pip value explained.
  • Variable spreads. Spreads are usually tightest when London and New York overlap (roughly 08:00 to 11:00 New York time). They are often wider in the Asian session and widest around the daily break.
  • Rollover. Gold trades Sunday 18:00 to Friday 17:00 New York time, with a daily break at 17:00 to 18:00 (21:00 to 22:00 GMT in summer, 22:00 to 23:00 GMT in winter). Around the close and reopen, liquidity is thin and spreads can widen many times over.
  • News. US data usually lands at 8:30 New York time (12:30 or 13:30 GMT). FOMC statements come at 14:00 New York time. Spreads widen, prices jump and slippage becomes likely. See gold news trading.
  • Weekend gaps. The Sunday open can be far from Friday’s close. Stops and pending orders inside the gap fill at the first available price.
  • Round numbers. Many traders place orders at levels like 4,100 and 4,200. Clusters of stops there can cause fast moves and slippage when triggered.

The main order types

Order type Where you place it Triggers when Fills as Typical use on gold
Market Now Immediately Best available price Fast entry or exit
Buy limit Below current price Ask falls to level At the level or better Buying a pullback to support
Sell limit Above current price Bid rises to level At the level or better Selling a rally into resistance
Buy stop Above current price Ask rises to level Market order, can slip Breakout entry; stop-loss on a short
Sell stop Below current price Bid falls to level Market order, can slip Breakdown entry; stop-loss on a long
Buy stop limit (MT5) Stop above price, limit at or below the stop Ask reaches the stop price Places a buy limit Buying the retest after a breakout
Sell stop limit (MT5) Stop below price, limit at or above the stop Bid reaches the stop price Places a sell limit Selling the retest after a breakdown
OCO Two linked orders One fills Other cancels Bracketing a range before news
Trailing stop Behind open profit Price moves in your favor Stop moves with it Following a trend

Market orders

A market order fills immediately at the best price available. You get certainty of execution but not of price. In calm conditions the fill is usually close to the quote. During news spikes, it can be far away.

Limit orders

A limit order fills only at your price or better. It gives price control but no guarantee of a fill. If gold turns a few cents before your level, you miss the trade. Limit orders suit traders who enter at planned zones such as support and resistance or order blocks.

Stop orders

A stop order becomes a market order once price reaches the trigger. Stop-losses are stop orders. So are breakout entries. Because they become market orders, they can slip in fast markets.

Stop-limit orders

A stop-limit order has two prices. When the stop price is reached, a limit order is placed at the limit price. Platforms implement it in two different ways:

  • Exchange-style (many futures and stock platforms): for a buy, the limit sits at or above the stop. It caps how much you pay on a breakout. If price jumps past the limit, you get no fill.
  • MT5 style: for a buy stop limit, the limit sits at or below the stop. The breakout arms the order, and you only buy if price pulls back to the limit. It is a “breakout, then retest” entry. Sell stop limits mirror this.

Check which version your platform uses before relying on it. Never use a stop-limit as a stop-loss if you need to be sure of getting out.

OCO (one cancels the other)

An OCO links two orders so that when one fills, the other is canceled. A common use is placing a buy stop above a range and a sell stop below it. MT4 and MT5 do not offer OCO natively; you need to cancel the other order manually or use an expert advisor. Some other platforms include it.

Trailing stops

A trailing stop follows price at a set distance as the trade moves in your favor and never moves back. In MT4 and MT5 the built-in trailing stop runs in your terminal, so it stops trailing when the platform is closed. Many gold traders prefer to trail manually behind structure, such as swing lows, rather than by a fixed distance, because gold’s pullbacks are often deep.

Which side triggers your stops

This is the most misunderstood part of gold execution.

Position Stop-loss is a Triggers on Take-profit is a Triggers on
Long (bought) Sell stop Bid Sell limit Bid
Short (sold) Buy stop Ask Buy limit Ask

Since the chart usually shows the bid:

  • Long positions: what you see is what triggers. If the bid candle touches your stop, you are out.
  • Short positions: your stop and target trigger on the ask, which is above the chart by the spread. Your stop can be hit without the chart touching it. Your target may not fill even when the chart touches it.
Hypothetical short stopped out by the ask at rollover4,135.34,131.54,127.74,123.94,120.14,116.34,112.5Buy stop on short 4,132Bid high 4,131.40Rollover: spread widensIdea right, trade goneHYPOTHETICAL DATA · ILLUSTRATION ONLY · NOT A REAL XAUUSD CHART
Hypothetical short stopped out by the ask at rollover. The chart shows bid prices. The bid high stays below the buy stop, but at rollover the spread widens, the ask reaches the stop and the short closes before price falls. Hypothetical data.

A trader is short gold from 4,126 with a buy stop at 4,132. Near the 17:00 New York rollover, the spread widens from about $0.30 to $1.20. The bid high reaches only 4,131.40, but the ask reaches 4,132.60. The stop triggers at 4,132 or worse. Afterward gold falls to 4,114. The idea was right; the execution plan was not. Hypothetical example.

Fixes:

  • Add the typical spread, plus a buffer, to stops on short positions.
  • Turn on the ask line in your platform.
  • Avoid tight stops through the rollover and major news.
  • Set short targets slightly above the level you want, so the ask can reach them.

Spreads, slippage, partial fills and requotes

Issue What it is When it happens on gold How to reduce it
Spread widening Gap between bid and ask grows Rollover, Asian session, news, holidays Avoid entries at these times; wider stops; check the spread before entry
Slippage Fill differs from expected price News, stop clusters at round numbers, gaps Smaller size; avoid market orders in spikes; use limits where suitable
Partial fill Only part of the order fills Larger orders in thin liquidity Smaller orders; check fill policy
Requote Broker offers a new price instead of filling Instant execution mode during fast moves Use accounts with market execution; set acceptable deviation
Rejection Order refused Too close to market, outside trading hours, insufficient margin Check stop level, hours and margin

Platform specifics in general terms (MT4 and MT5)

  • Pending order types: MT4 offers buy limit, sell limit, buy stop and sell stop. MT5 adds buy stop limit and sell stop limit.
  • Stop level: many brokers set a minimum distance between the current price and pending orders, stops or targets. Orders closer than this are rejected.
  • Freeze level: some brokers stop you from modifying orders when price is very close to them.
  • Execution modes: depending on the account, orders may use instant execution (where requotes can occur) or market execution (where you accept the next price, with possible slippage).
  • Fill policies (MT5): fill or kill, immediate or cancel, and return. These decide what happens if your full size is not available.
  • Expiry: pending orders can be good till canceled, valid for today or set to expire at a specific time. Use expiry on pre-news orders so they do not linger.
  • Server time: many broker servers do not run on New York time. Know the offset before setting expiries or reading session times.

Exact behavior varies by broker and account type. Check your broker’s contract specification and order execution policy.

A stop-loss is not a guaranteed exit price. In fast markets or after a weekend gap it fills at the next available price, which can be much worse than planned. Size positions so that a stop slipping by several dollars would still be survivable. Some brokers offer guaranteed stops for a fee, with their own terms.

Variations: from beginner to pro

Beginner: use market orders for entries in calm conditions and always attach a stop-loss at entry. Learn the bid/ask table above. Avoid trading at rollover and during news.

Intermediate: use limit orders at planned levels and stop orders for breakouts. Add spread buffers to short-side stops. Use expiry times on pending orders. Log slippage per trade.

Experienced: choose order types by context. Measure average spread by hour from your own platform. Use stop-limits for breakout entries where a bad fill would ruin reward to risk. Split entries or exits to manage partial fills on larger size.

Three execution setups traders use

Setup 1: Limit entry at a planned pullback

Element Detail
Context Uptrend on H1; price above a marked support zone
Trigger Price approaching the zone during London or New York hours
Entry Buy limit at the top of the zone
Stop (invalidation) Sell stop below the zone plus a buffer (triggers on bid)
Targets Prior swing high; sell limit target (triggers on bid)
Management Cancel if not filled within a set time or before high-impact news

Setup 2: Breakout, then retest with an MT5 buy stop limit

Element Detail
Context Tight range under resistance; see breakout and retest
Trigger Ask trades above the range high, which arms the order
Entry Buy stop limit: stop just above the high, limit slightly below it at the broken level
Stop (invalidation) Sell stop back inside the range
Targets Measured move or next resistance
Management If price breaks and runs without a retest, there is no fill; do not chase

Setup 3: Short with spread-aware stops

Element Detail
Context Rejection at resistance in a downtrend
Trigger Bearish close on the entry timeframe
Entry Market sell (fills at bid) or sell limit at a retest
Stop (invalidation) Buy stop above the swing high plus typical spread plus buffer
Targets Buy limit placed slightly above the target level, since it triggers on the ask
Management Close or widen before the 17:00 New York rollover if the stop is tight

Worked example (hypothetical)

A trader with a $15,000 account risks 0.75% per trade: $112.50.

Plan: gold is consolidating between 4,060 and 4,071 before the New York open. The trader wants to buy a break above 4,071, but only if price retests the broken high rather than chasing the spike.

Order (MT5 buy stop limit): stop price 4,071.30, limit price 4,070.80. When the ask reaches 4,071.30, a buy limit at 4,070.80 is placed, so the trader only buys a retest of the broken range high. Stop-loss (sell stop) at 4,064.80, below the middle of the range. Risk from the limit price = $6.00. Size = $112.50 ÷ ($6.00 × $100) = 0.1875, rounded down to 0.18 lots. Target: sell limit at 4,082.80 (2R from the limit price).

Timing: CPI is due at 8:30 New York time. The trader sets the order to expire at 8:20 New York time and plans to reassess after 8:45 if unfilled.

Scenario A: the ask trades through 4,071.30 at 7:50, which places the buy limit. Price pulls back and the order fills at 4,070.80 at 8:05. Real risk = 0.18 × $6.00 × 100 = $108.

Scenario B: price breaks out and runs straight to 4,078 without a retest. No fill. The trader does not chase, because a market entry at 4,078 with the same stop would mean $13.20 of risk per ounce, a much smaller position and a poor reward to risk.

Spread note: the trader checks the spread is near normal (about $0.30 in this example) before placing the order.

Combining it with other concepts

Best timeframes and sessions

Time (New York) Execution conditions Suggestion
02:00 to 05:00 (London kill zone) Liquidity improves; spreads usually normal Good for planned limit and stop entries
08:00 to 11:00 (London/New York overlap) Often the deepest liquidity Good execution outside news minutes
8:30 and 14:00 on data or FOMC days Spread widening, slippage, gaps between ticks Avoid entries or use small size and tested rules
16:30 to 18:30 (around the daily break) Thin liquidity, very wide spreads possible Avoid new entries and tight stops
Friday close to Sunday open Gap risk Reduce or close positions you cannot afford to gap

Scalpers on M1 to M5 feel execution costs most, because the spread is a large share of a small stop. Swing traders feel it less per trade but face gap risk.

Common mistakes

  • Forgetting the chart shows the bid. Fix: turn on the ask line.
  • Tight stops on shorts. Fix: add typical spread and a buffer.
  • Market orders during news spikes. Fix: wait, or use limits or stop-limits.
  • Leaving pending orders through news. Fix: set expiry times.
  • Relying on terminal trailing stops while offline. Fix: trail manually, use a VPS or server-side tools.
  • Using stop-limit as a stop-loss. Fix: use a standard stop for protection.
  • Ignoring broker stop levels. Fix: check the minimum distance in contract specifications.
  • Holding through rollover with tight stops. Fix: close, widen with smaller size, or avoid.

Limitations and honest caveats

  • Execution quality varies by broker, account type, liquidity provider and market conditions. No single description covers everyone.
  • Spread figures on this page are hypothetical illustrations. Measure your own broker’s typical spreads.
  • Even perfect order choice cannot remove gap and slippage risk.
  • Brokers may change execution policies; read the current documents.
  • Better execution improves results only if the underlying strategy has an edge.

Pro tips

  1. Log your slippage. Record expected vs actual fill price for every trade. After 50 trades, you will know your real execution cost.
  2. Measure spread by hour. Check your broker’s spread at the times you trade for a week. Use the figures in your backtest.
  3. Place targets just inside levels. For longs, slightly below resistance; for shorts, slightly above support, accounting for the ask.
  4. Use alerts instead of orders in uncertain conditions. An alert lets you assess the spread and context before committing.
  5. Prefer limit entries for planned zones and stop entries for momentum. Match the order type to the logic of the setup.
  6. Know your broker’s server time offset. Convert expiry times to New York time so orders cancel when you intend.

Quick checklist

  1. I know whether my order fills on the bid or the ask.
  2. I have chosen the order type that matches the setup logic.
  3. The spread is normal for this time of day.
  4. No high-impact news or rollover is due during my planned hold, or I have a plan for it.
  5. My stop-loss is attached and, for shorts, includes the spread plus a buffer.
  6. Position size is calculated from the stop at my fixed risk.
  7. Pending orders have an expiry time.
  8. I have accounted for possible slippage in my worst-case loss.
  9. I will log the actual fill and slippage after the trade.

Frequently asked questions

What is the difference between a buy limit and a buy stop on gold?

A buy limit is placed below the current price and fills if price falls to it, so you buy cheaper. A buy stop is placed above the current price and triggers if price rises to it, which suits breakout entries. Both trigger when the ask reaches your level.

Why was my stop hit when the chart never touched it?

Most platforms chart the bid price. A short position’s stop is a buy order and triggers on the ask, which sits above the bid by the spread. If the spread widens, for example at the 17:00 New York rollover or around news, the ask can reach your stop even if the bid chart does not.

What is slippage in gold trading?

Slippage is the difference between the price you expected and the price you actually got. It is most common with market and stop orders during fast moves, such as US data releases. It can be negative or, less often, positive.

Does a stop-loss guarantee my maximum loss?

No. A standard stop-loss becomes a market order once triggered and fills at the next available price. In fast markets or after weekend gaps, that price can be much worse than your stop. Some brokers offer guaranteed stops for a fee, with their own terms.

Does MT4 or MT5 support OCO orders?

Neither MT4 nor MT5 has a built-in one-cancels-the-other order for linking two pending orders. Traders handle this manually, with an expert advisor or with platforms that offer OCO natively. MT5 does add buy stop limit and sell stop limit orders, which MT4 does not have.

Do trailing stops work when MT4 or MT5 is closed?

The standard trailing stop in MT4 and MT5 runs in your terminal, so it only updates while the platform is open and connected. Your last stop level stays on the server, but it will not keep trailing. Some traders use a VPS or a broker’s server-side tools to keep it running.

Sources and further reading

External sites are independent of XAUUSD Global. Check dates and data yourself.