Tested on IC Markets XAUUSD data only. Results and session behavior may differ on other brokers’ data.
Watch the lesson
My Gold Trend Cross Method, Explained Step by Step (9:35). Also on the free lessons page, with chapters. Education only. The video explains how the rules work; it is not personal advice.
The raw crossover
The 9 EMA follows price closely; the 21 EMA is slower. When the 9 closes above the 21, the short-term average has moved above the medium-term one: momentum has turned up over the last few candles. The opposite cross shows it turning down. Read crosses on closed 1-hour candles; a cross that appears mid-candle can disappear by the close.
Why the raw cross isn't enough on gold
Gold's 1-hour chart spends a lot of time in back-and-forth ranges, especially during the Asian session (roughly 10am to 6pm Sydney time in summer). In a range the 9 and 21 EMAs braid around each other and cross repeatedly. Each cross looks like the start of a move; most aren't. Filters exist to skip those.
Filter 1: the 1-hour 200 EMA
Only consider bullish crosses when price is above the 1-hour 200 EMA, and bearish crosses when below. This removes counter-trend crosses, at the cost of missing some early turns. The video covers this step at 2:02.
Filter 2: the completed 4-hour candle
Look at the last completed 4-hour candle and the 4-hour 200 EMA. For bullish crosses, require that completed candle to close above a rising 4-hour 200 EMA. Using the completed candle matters: a live 4-hour candle can flip the filter back and forth during the hour you're watching. The filter stays fixed until the next 4-hour candle closes.
Filter 3: MACD agreement
Check that momentum agrees: for a bullish cross, the MACD histogram above zero, or the stricter version where the MACD line is also above the zero line. Crosses that pass everything except the zero-line part can be marked as “early” watch events: worth noticing, not worth acting on by the rules.
Reference levels and the exit
A rules-based version also defines what happens after the cross:
- Reference entry: the open of the next 1-hour candle, since the cross is only known at the close.
- Safety stop: a multiple of ATR from entry, for example 2.5 × ATR(14). Gold's swings are large; tight stops get hit by noise. See ATR stop loss.
- Reference targets: 1R and 2R from entry, as reference points only.
- Primary exit: the opposite confirmed cross. This lets winning trends run and cuts losers when momentum turns.
Worked example (illustrative numbers)
- 8pm Sydney time: the 1-hour candle closes at 4,218.4. The 9 EMA (4,215.9) has closed above the 21 EMA (4,214.7). Raw bullish cross.
- 1-hour 200 EMA at 4,201.0. Price is above it. Filter 1 passes.
- Last completed 4-hour candle closed at 4,212.0 above a rising 4-hour 200 EMA at 4,189.0. Filter 2 passes.
- MACD histogram positive, MACD line above zero. Filter 3 passes.
- Reference entry at the 9pm open, 4,218.6. ATR(14) = 14.0; safety stop 2.5 × 14.0 = 35.0 below, at 4,183.6. 1R = 35.0, so TP1 reference 4,253.6, TP2 reference 4,288.6.
- The opposite cross prints at 3am Sydney time at 4,231.0. By the rules, that's the primary exit reference, before TP1 was reached.
Different days produce very different paths. Some crosses reach the stop within hours, especially around US data at 12:30am Sydney time.
Where this fails
- Ranges that sit on the right side of the 200 EMA. The filters pass, and the crosses still whipsaw.
- News spikes. A single candle can cross and uncross the averages.
- Late entries. By the time a 9/21 cross confirms after a sharp move, much of the move may be done.
- Broker data. Gold prices and candle times differ slightly between feeds, which changes exactly when crosses happen.
The video covers a failed cross and a skipped cross at 6:25, which is worth watching before using any crossover method.
Settings worth knowing
- EMA lengths 9 and 21, trend EMA 200 (adjustable, but test on many examples before changing).
- The MACD rule: off, histogram sign only, or histogram plus zero line.
- Direction: both, long only or short only.
- ATR length and stop multiple.
Gold Trend Cross implements this method on the XAUUSD 1-hour chart with the filters, early watch markers, reference levels and a combined alert. For timing, see the best time to trade gold in Sydney time.
Frequently asked questions
What is the 9/21 EMA crossover strategy?
Using closed-candle crosses of the 9 and 21 EMAs as a momentum trigger, usually with trend filters such as the 200 EMA and a MACD check.
Does the 9/21 EMA crossover work on gold?
On its own it whipsaws often on XAUUSD 1-hour charts. Trend and momentum filters reduce, but don't remove, false crosses. Tested on IC Markets XAUUSD data only; results differ on other data.
What timeframe is best for a 9/21 EMA crossover on gold?
The method described here is built for the 1-hour chart with a 4-hour filter. Lower timeframes produce many more crosses and more noise.
Why use a completed 4-hour candle as a filter?
So the filter doesn't change while the 4-hour candle is still forming. It updates only when that candle closes.
What is an early cross?
A cross that passes the trend filters but not the full MACD zero-line check. It is a watch-only event, not a reason to act by the rules.
Keep reading
The best time to trade gold, in Sydney time
Gold's sessions in Sydney time: the Monday open, quiet Asian hours, the London open, the New York overlap and US data times, with DST shifts.
The 20, 50 and 200 EMA setup: what each average actually does
How the 20, 50 and 200 EMAs work together: the 200 as trend filter, the 20/50 zone as the pullback area, and where the averages mislead.
Gold pip value and lot size: the XAUUSD arithmetic, explained
What a pip is on XAUUSD, what a $1 move is worth per lot, and how to size a gold position from your stop distance, with worked examples and a checklist.
More in Gold (XAUUSD), or browse all guides by topic. Questions? Email contact@brainiosoftware.com.
Tested on IC Markets XAUUSD data only.
General information only. This guide is general education, not personal financial product advice or a recommendation to buy or sell anything. Indicator readings, alerts and screener results are not trade recommendations. Examples use illustrative numbers. TradingView is a third-party platform; we are not affiliated with or endorsed by TradingView. Education only. Not financial advice. Trading involves risk of loss. Read the full risk disclaimer.