Skip to content
← All posts

Gold EAs

Gold Trading Sessions: When XAUUSD Moves and What It Means for an EA

EABuild Team · · 9 min read

Gold Trading Sessions: When XAUUSD Moves and What It Means for an EA – EABuild

Gold trading sessions explain why XAUUSD can sit quietly for hours and then move hard within minutes. The metal trades almost around the clock on weekdays, but activity is not spread evenly across those hours. This post describes the three main sessions, what happens to spreads at rollover, and how session timing matters when you let an expert advisor (EA, a program that places trades for you) run on a chart.

How gold trading sessions are divided

Gold is quoted by brokers as XAUUSD, the price of one ounce of gold in US dollars. Trading follows the working hours of the big financial centres in turn, so traders talk about three sessions: Asian, London and New York. Each one has its own typical character.

The Asian session

The Asian session is usually the quietest of the three for gold. Price often moves in a narrower range, and moves tend to be slower. Some traders see this as a calm period for range-based ideas; others find that thin activity makes the spread (the gap between buy and sell price) a larger share of each trade. Which view fits depends on the strategy and the broker.

The London session

London is the main European market, and activity on gold usually picks up when it opens. Many breakouts (entries when price leaves a range) are attempted around this time, and false breakouts happen as well. A strategy that waits for price to leave the Asian range is common, but nothing about it is certain.

The New York session

New York is where many US economic releases arrive, and gold is sensitive to US data and to the US dollar. The hours when London and New York are both open, called the overlap, usually carry heavy activity. The end of the New York session is followed by the daily rollover and a thinner market.

Why server time matters more than your local clock

MetaTrader does not use your local time. Charts, history and EA time inputs all follow the server time of your broker, and brokers choose different offsets from GMT. Many also shift that offset when daylight saving changes in the US or Europe, so a session can seem to move by an hour twice a year on your chart.

This is the first thing to understand before you use any time setting. If an input says "start hour 8", it means 8 on the server clock, not 8 where you live. You can see the server time in the Market Watch window, and a quick check against a world clock tells you the offset.

Do not copy another trader's session hours without converting them. A window written for one broker can land in the wrong part of the day on another broker's server.

Rollover, spread spikes and the end-of-day gap

Rollover is the point where the broker closes one trading day and starts the next. On XAUUSD it often falls close to the end of the New York session, and brokers set the exact time themselves. Around that point liquidity is thin, and many brokers quote a much wider spread for a short period.

For an EA this matters in three ways.

  • Entries. An EA that opens a trade during a wide-spread moment pays a higher cost on entry, and its stop or take-profit levels can be touched sooner than the chart suggests.
  • Stops. A stop order can be triggered by the spread alone, even when the price on the chart barely moves.
  • Execution. Fills can arrive at a different price than requested (slippage), which is more common when the market is thin or moving fast.

You can see this on your own account. Open a gold chart on a demo account near your broker's rollover and watch the spread in the Market Watch window or on the chart's spread display. The pattern differs by broker and by account type. For a closer look at how account types change spread and commission, read the post on ECN and standard accounts for scalping.

News releases and the gold session calendar

Besides the daily rhythm, gold reacts to scheduled economic releases, such as US employment and inflation reports and central bank decisions. These events can arrive inside any session, but many US releases fall in the New York morning hours, so they overlap with the London and New York activity.

During a release, spreads can widen, and price may jump past levels without trading at them. An EA that does not account for this can open or close trades at poor prices. Some EAs are written to trade these moments on purpose, and others are built to stay away from them. The listing of a product says which approach it uses, if it says anything at all.

Session and time filters in EA inputs

Many EAs include time filter inputs: a start hour and an end hour, sometimes a list of weekdays, sometimes a switch that pauses trading around news or rollover. These are inputs in the EA's settings window, and each product names them differently. Read the full list before attaching an EA.

What to look for in the inputs

  • A trading window, given as hours on the server clock.
  • A weekday filter, for example one that stops trading late on Friday.
  • A maximum spread input that blocks new orders when the spread is wide.
  • A rollover or news pause, if the EA has one.

If an EA has none of these, it will trade in every session, including the rollover window. That is not wrong in itself, since some strategies are designed that way, but you should know it before going live. A set file is a saved list of input settings you load in MetaTrader; if you are unsure how to load one, the post on loading a set file in MT4 and MT5 walks through it.

How to test a time filter on a demo account

  1. Find your broker's server time offset and write down the hours of the sessions you care about, converted to server time.
  2. Attach the EA to a demo chart of XAUUSD and enter the time window in the inputs.
  3. Let it run over several days and review the trade history, checking the open time of each trade against your window.
  4. Note any trade that opened near rollover, and compare the spread you saw with the spread on other trades.
  5. Change one input at a time, and keep a note of what you changed.

The Strategy Tester in MetaTrader can replay history, but the spread it assumes may not match the wide spreads your broker shows at rollover, so a demo account on live quotes remains a useful check.

Three gold EAs and how sessions relate to each

The shop lists several EAs for gold. The listings do not state which session each one is meant for, and they do not describe a time filter, so the points below come only from each listing's strategy and timeframe. Check the inputs window of each download for time settings.

A news trading EA on H1

Global Trade Plan EA for MT5 is an MT5 expert advisor listed for XAUUSD on H1 with a news trading strategy, and the download includes the EA file and 6 set files. Because news trading means trading around economic releases, session timing is central here: releases fall at set times, and spreads can widen at those moments. Look at how the 6 set files differ before choosing one, and test on a demo account around a release.

A breakout and grid EA on D1 and M15

Gold Trade Pro EA for MT4 is an MT4 expert advisor listed for XAUUSD and GBPUSD on D1 and M15, with breakout, grid and martingale logic. A grid strategy opens extra orders at set price steps, and martingale increases the lot size after a losing trade, so open exposure can grow while price moves against the first order. Breakout entries are connected to sessions, since price often leaves a range when a new session opens, and false breakouts happen. The download includes 7 set files, and the listing marks it as built with prop-firm challenge rules in mind, so check your firm's rules on EAs before using it on a challenge.

A grid, martingale and hedging EA on M15

Forex GOLD EA for MT5 is an MT5 expert advisor listed for XAUUSD and EURUSD on M15, with grid, martingale and hedging logic. A grid that has several orders open when rollover arrives can be affected by a spread spike, so watch how it behaves at that point on a demo account. Hedging means holding buy and sell positions on the same symbol, so check that your account type allows it. The package has 2 compiled files and 11 set files.

Testing a gold EA across sessions this week

You do not need a complicated plan. Pick one gold EA, attach it to a demo account, and let it run through at least one Asian, one London and one New York session. Compare how often it trades in each, how the spread looks at rollover, and whether any trades cluster around news releases.

For a wider view of strategy types on XAUUSD, see the gold EA guide. Every product in the shop is also included in the membership, which gives access to every product in the catalogue, so you can try more than one on a demo account. If you need to update or install the platform first, the MetaTrader 5 website has the current downloads.

Trading foreign exchange and CFDs carries a high level of risk and may not be suitable for all investors. Past performance does not guarantee future results; only trade with money you can afford to lose.

Tags: Gold EAs

← All posts

Get every EA with membership

313 products · from $16.59/month

See plans

More in Gold EAs