What Is a Market Gap — The Complete Definition
A market gap is a price discontinuity: the situation where a market's opening price differs materially from its previous closing price, with no trades having occurred at intermediate prices. In continuous markets, gaps are rare because any price difference between close and open can be arbed away almost instantly. But gold (XAUUSD) is not a 24/7 continuous market — it has daily closures and a full weekend closure — making gaps structurally inevitable.
The mechanism is simple: when market participants form new views on gold's fair value while the market is closed, those views are reflected in the opening price rather than through a series of gradual trades. The larger the information shock during the closure period and the longer the closure lasts, the larger the potential gap.
Gold has two distinct gap-producing periods per week. The first is the weekday overnight gap — the small gap between one session's close and the next's open, typically driven by Asian market positioning and minor news flow. The second, and far more consequential, is the weekend gap between Friday's close and Sunday's reopen — where 48+ hours of global events can drive large price movements before any hedging or position adjustment is possible.
This page focuses on understanding what gaps are and how they form. For the specific question of what happens to your EA positions when a gap occurs, see our companion guide on how your EA responds to gaps.
The Causes of XAUUSD Weekend Gaps: A Comprehensive Taxonomy
Not all weekends carry equal gap risk. Understanding what typically drives gold gaps helps traders make informed decisions about position management before Friday close. The five primary drivers of weekend gold gaps are:
Geopolitical escalation
Risk: Very High- Armed conflict escalation
- Nuclear/missile tests
- Major sanctions
- Leadership instability in oil regions
Gold benefits as safe haven — tends to gap up
Central bank surprises
Risk: High- Emergency rate decisions
- Unexpected QE/QT
- FX intervention announcements
- Forward guidance shifts
Direction depends on dollar impact
Banking/financial system
Risk: High- Major bank failures
- Sovereign debt crises
- IMF emergency programs
- Currency peg breaks
Strong safe-haven buying typical
US economic data
Risk: Medium- Friday data released post-market
- Revised GDP surprises
- Inflation data corrections
- Employment revisions
Dollar-driven, often predictable direction
Commodity supply shocks
Risk: Medium-Low- Oil production disruptions
- Mining sector news
- ETF flow reports
- Physical gold demand surges
Less common but can amplify other drivers
Quiet weekend
Risk: Low- No major news
- Continuation of prior trend
- Normal Asian open
- Standard price discovery
Most weekends — small gaps of 5–20 pips
Gap vs Gap Fill: Understanding Reversion Dynamics
A common misconception among newer traders is that gaps always fill — that is, price always returns to trade at the level it skipped. This creates a tempting but dangerous trading logic: "gold gapped down 50 pips, so I should buy because it will fill back up." While gap fills are common, they are far from guaranteed, and the timeframe for fills can be days to months for large fundamental gaps.
The fill rate depends heavily on the driver of the gap. Technical gaps — those caused primarily by thin liquidity at the open rather than significant news — fill at a high rate, often within the same trading session. Fundamental gaps — those driven by new information that changes the market's view of fair value — fill much less reliably. The Ukraine war gap in gold did not fill for months because the underlying factor (elevated geopolitical risk) remained present.
For EA traders, the fill question is largely irrelevant to risk management. If your stop loss is bypassed by a 50-pip gap, the loss has already occurred when the market opens. Whether gold fills back to your original entry level over the next week does not recover that loss. Risk management must be applied before the gap, not after it.
The practical implication: do not use "gaps usually fill" as justification for holding positions over weekends. Position protection must be achieved through gap filters and proper Friday close discipline, not through post-gap gap-fill bets. For traders exploring recovery mode options, see our coverage of whether recovery mode helps after a gap loss.
Historical Weekend Gap Magnitudes in XAUUSD
Historical data on XAUUSD weekend gaps provides useful context for risk calibration. The distribution of gap sizes is not uniform — the majority of weekends produce modest gaps of 5–25 pips, but the tail events are severe enough to cause catastrophic damage to unprotected positions. The question is not whether a 150-pip gap will happen — it is when, and whether your positions are protected when it does.
These are not rare events — they represent one or more extreme gap weekends per year in recent history. The average frequency of 100+ pip gaps is approximately 3–5 per year, or roughly every 2–4 months. Any trading strategy that does not account for this reality is accepting tail risk that it has not modeled.
Three Positions That Survive Gaps: A Simple Framework
Regardless of the gap's cause or magnitude, there are only three types of position states that guarantee survival over any gap event. Understanding these gives you a clear decision framework before Friday close.
No position (flat)
SafestIf the EA closes all trades before the weekend, the gap is completely irrelevant. This is the position guaranteed by enabling the Friday close filter — regardless of what happens over the weekend, the account is untouched.
How: Enable the Friday close filter in your EA settings. Set it to 20:00–21:00 server time — at least 1–2 hours before close.
Tight stop loss
Partial protectionA tight stop loss will still be bypassed in a large gap, but the maximum loss is bounded at the gap size rather than the distance to a wider stop. For small weekday gaps (2–8 pips), a 10-pip stop loss provides reasonable protection. For weekend gaps, any stop loss is vulnerable.
How: Not recommended as primary gap protection. Use as secondary risk control only if you must hold over the weekend.
Position filter active
Automatic protectionThe EA's gap filter setting prevents new orders after a defined time and optionally closes existing positions. This automates the "no position" outcome without requiring manual action every Friday.
How: Confirm the filter is enabled and set correctly. Test it by checking the Friday session manually — the EA should show no new orders after the filter time.
The Sunday Pre-Market Checklist
A 10-minute Sunday evening routine can significantly reduce the risk of being caught wrong-footed by a large gap open. Before the official XAUUSD market opens (typically 23:00–23:05 GMT on Sunday), several leading indicators are available that allow traders to anticipate gap direction and magnitude.
Check gold spot in Asian thin trading
Before the official open, gold trades in thin volume in some Asian markets. This pre-market price often foreshadows the direction and approximate magnitude of the Sunday gap. If spot gold is already 50 pips above Friday's close, the official open will likely reflect this.
Review weekend news headlines
A 5-minute scan of major financial news sites for any significant developments over the weekend. Focus on: geopolitical events, Fed speeches, economic data surprises, banking or financial system news, and US dollar movement.
Check US dollar index (DXY) direction
Gold and the US dollar move inversely in most market regimes. If the dollar strengthened significantly over the weekend (DXY futures are available for reference), gold typically gaps down, and vice versa.
Verify EA gap filter status
Confirm the EA is running on your VPS, the Monday start time is set correctly, and any gap sensitivity settings are configured. Some EAs include a parameter to pause trading for the first 30–60 minutes of Monday if a large gap is detected.
Set realistic expectations for Monday morning
If a significant gap has occurred, the first 15–30 minutes of trading may show extreme volatility and wide spreads as the market finds equilibrium. Many EA traders delay the Monday start time to 01:00–02:00 GMT to avoid this initial volatility window.
Understanding gap risk is a key part of the pre-launch EA checklist. For traders setting up a gold EA for the first time, see our complete pre-launch guide. For broader market closure risks that share some characteristics with gap events, see our guide on why systems fail during market closures.