Weekend gaps on XAUUSD and what an EA should do

14 November 2026, 11:07
Pavel Polikarpov
0
10

Gold trades almost around the clock from Monday to Friday, then the market closes for the weekend and opens again on Sunday evening or early Monday, depending on the broker. The opening price is not obliged to match Friday’s close. That difference is a gap. This note is about the choice every gold Expert Advisor has to make before the close: flatten, or hold a position and a stop over the weekend.

It does not recommend a single policy as always right. Past results, live or simulated, do not guarantee future results.

Why the open can be far from Friday’s close

XAUUSD is priced in dollars and is sensitive to news that does not wait for the metal market to reopen. A shift in the US dollar, a weekend political event, or a change in risk appetite can move the theoretical price while the book is closed. When trading resumes, the first quotes can sit above Friday’s high or below Friday’s low.

The size of that jump changes with the news, the broker’s Sunday session, and how thin the first minutes are. I will not invent a table of sizes. The practical point is simpler: a stop that was valid on Friday may be filled, on the open, at a much worse price than the stop level.

Spreads and swaps around the close and the open can add to that picture.

Two honest policies, and the cost of each

There are two clean policies.

The first is to flatten on Friday. Open positions are closed before the weekend, and pending orders can be cancelled so they do not come to life in a gap. The cost is that a trade which was still valid on Friday is cut short, sometimes in a wider Friday spread, and a move that continues after the open is missed.

The second is to hold the position over the weekend, with its stop left in place. The trade thesis is allowed to survive the close. The cost is gap risk: the open can skip the stop, and the fill can be worse than the stop the trader thought they had.

A mixed policy is also a policy, as long as it is written down. One lane can flatten on Friday while another is allowed to stay open. What is not honest is to leave the choice unstated, or to present a backtest as if weekend risk had been removed when positions were in fact held.

Server time matters here. “Close on Friday” is not one clock for every broker. A time such as 14:05 or 23:00 only means something once you know the broker’s GMT offset and when that broker actually stops quoting gold. Convert the input to server time before you trust it.

What Golden Sniper XAU does

Golden Sniper XAU takes a mixed policy, and that should be said plainly.

The momentum lane is designed to close on Friday, so that part of the book does not stay in gold over the weekend. Pending orders of the trend lane are cancelled on Friday, so a breakout stop is not left to be triggered in the gap. Other open positions, including a short or a trend trade that is already live, may remain open over the weekend with their stop. The Expert Advisor does not flatten every position on Friday.

Weekend gap risk is therefore not zero. A stop on a held position is still a stop, not a guarantee of the Friday price. That is a feature of the design, not an oversight to be patched away without a test.

I do not have a separate weekend-only backtest to quote, and I will not invent one. The Strategy Tester figures published with the product are ordinary backtests of the full system, not a proof of how the next Monday gap will behave. Broker, spread, session hours and settings all change the result.

What I would check on any gold EA

  1. Does it close positions on Friday, and at what server time?
  2. Does it cancel pending orders before the weekend, or can a stop or a limit come to life in the gap?
  3. If it holds a position, is the stop left in place, and is that choice stated in the description?
  4. Is there a news filter around the close or the open, and what does it actually block?
  5. After a Monday gap, does the system keep the filled trade, close it, or stand aside for a while?

If those five points are clear, you can accept the residual risk or refuse it. If they are not, the weekend is an unstated risk, not a small detail.

A gap is not an argument against trading gold, and flattening on Friday is not a promise of safety. It is a decision about which risk you prefer: cutting a trade early, or being opened through a level you thought was protected. Golden Sniper XAU accepts some of the second risk, on purpose, while closing the momentum lane and cancelling pending trend orders before the weekend.

Trading gold with leverage can lead to the loss of the entire deposit.

Golden Sniper XAU, a MetaTrader 5 Expert Advisor for XAUUSD H1, is here:

https://www.mql5.com/en/market/product/207995

A free chart indicator from the same author, Swing Structure ATR, is here:

https://www.mql5.com/en/market/product/208384