9/21 EMA crossover on gold: 17,513 trades, 2021 to 2026

Gold (XAUUSD) · 5-minute candles · tested period: 1 July 2021 to 18 November 2026 (5.4 years) · by Wicko's strategy lab

The rules we tested

On 5-minute candles: buy at the next open when the 9 EMA closes above the 21 EMA after being at or below it, sell short on the mirror cross. Stop below the lowest low (above the highest high for shorts) since the previous opposite cross, the recent swing. Target 2x the risk. Closed after 4 hours if neither is hit.

This is the textbook version, written from the public definition of the 9/21 EMA crossover: when the 9-candle average of closing prices crosses above the 21-candle average, buy, and when it crosses below, sell short. It is different from the MACD crossover, which tracks the gap between two averages against its own signal line. The textbook signal gives no single stop, so we used the common public one: below the lowest low since the previous opposite cross for a long (above the highest high for a short), with a target of 2x the risk. Each trade enters at the next candle’s open after the cross.

Results, July 2021 to November 2026

PeriodTradesHit the targetBefore costsAfter costs
July 2021 to November 2026 (5.4 years)17,51320%+0.01R−0.07R

Recent months

MonthTradesHit the targetBefore costsAfter costs
November 2026 (so far, to 18 November 2026)17722%+0.01R−0.04R
October 202630617%−0.05R−0.10R
September 202629820%+0.02R−0.03R
August 202625821%+0.04R−0.01R
July 202627619%+0.01R−0.04R
June 202624219%+0.06R+0.02R

By trading session

Session (when the order filled)TradesHit the targetBefore costsAfter costs
Asia (00:00 to 07:00 UTC)5,28422%+0.04R−0.05R
London (07:00 to 13:00 UTC)4,98624%0.00R−0.07R
New York (13:00 to 21:00 UTC)5,66312%+0.01R−0.06R
Late hours (21:00 to 24:00 UTC)1,58023%−0.02R−0.15R

What changes the result (July 2021 to November 2026)

Each row changes one rule from the textbook version and keeps everything else the same. We show every row we tested with 30 or more trades, not only the best one. The best after costs was "1-hour candles" at 0.00R a trade (the two periods disagree).

ChangeTradesHit the targetBefore costsAfter costs2021–24 / 2025–26 after costs
Textbook rules (above)17,51320%+0.01R−0.07R−0.09R / −0.03R
Target 1x risk17,51341%0.00R−0.07R−0.10R / −0.03R
Target 3x risk17,51311%+0.02R−0.06R−0.08R / −0.02R
Skip setups with a stop under 5% of the typical daily move16,50719%+0.01R−0.06R−0.08R / −0.03R
Skip setups with a stop under 10% of the typical daily move12,74716%+0.01R−0.05R−0.06R / −0.03R
Only trade with the 1-hour 200 EMA trend8,26721%+0.05R−0.04R−0.05R / 0.00R
1-minute candles89,98020%0.00R−0.19R−0.22R / −0.12R
15-minute candles5,67320%+0.01R−0.04R−0.05R / −0.01R
1-hour candles1,38319%+0.02R0.00R−0.02R / +0.05R
Stop 1x the chart's average range beyond the 21 EMA17,51327%+0.01R−0.10R−0.13R / −0.05R
Stop at the low (high) of the last 10 candles17,51321%+0.01R−0.07R−0.10R / −0.02R
Cross candle must close beyond the last 10 candles' high (low)6,46316%+0.01R−0.05R−0.07R / −0.03R
8 EMA instead of 9 (the 8/21 cross)18,52920%+0.01R−0.07R−0.08R / −0.04R

The time limit is 48 candles of the chosen chart (4 hours on 5-minute candles, 48 hours on 1-hour candles). "Typical daily move" is the average daily range over the previous 14 days. The textbook crossover has no single stop, so we used the common public one: the lowest low (highest high for shorts) since the previous opposite cross. "Average range" in the stop variation is the average size of the last 14 candles on the chart.

The last 10 trades

Filled (UTC)SideEntryStopTargetOutcomeBefore costsAfter costs
2026-11-18 10:25Sell3768.923786.663733.44Time limit+0.27R+0.25R
2026-11-18 09:30Buy3778.493757.513820.45Time limit−0.69R−0.71R
2026-11-18 06:05Sell3787.133792.973775.45Target+2.00R+1.94R
2026-11-18 05:50Buy3791.073780.313812.59Stop−1.00R−1.04R
2026-11-17 23:50Sell3849.423857.523833.22Target+2.00R+1.95R
2026-11-17 23:05Buy3854.683849.203865.64Stop−1.00R−1.08R
2026-11-17 21:35Buy3856.573842.013885.69Stop−1.00R−1.03R
2026-11-17 17:35Sell3865.363871.853852.38Target+2.00R+1.94R
2026-11-17 17:15Buy3869.593861.863885.05Stop−1.00R−1.06R
2026-11-17 16:55Sell3864.053890.983810.19Time limit+0.62R+0.60R

How we tested

  • Data: 1-minute gold candles from an institutional price feed, 1 July 2021 to 18 November 2026. Weekends and gaps in the data never count as part of a setup.
  • Fills: the entry is a market order at the open of the next minute after the setup forms.
  • Exits: checked minute by minute. If one minute touches both the stop and the target, we count the stop, because we can't tell which came first.
  • Checks: 20 random trades were re-counted with separate code and matched; every number on this page comes from one checked file.
  • Not advice: these are past results on historical data, before taxes and funding costs. They don't promise future results.

Numbers updated 23 November 2026.

Questions

Does the 9/21 EMA crossover work on gold?

Not on 5-minute charts. Over 17,513 textbook 9/21 EMA crossover trades on gold (July 2021 to November 2026), the average result was +0.01R a trade before costs and −0.07R after costs. It lost money after costs in both test periods: −0.09R in 2021 to 2024 and −0.03R in 2025 to 2026.

What is the 9/21 EMA crossover win rate on gold?

With a target of 2x the risk, 20% of trades reached the target. 33% ran out of time before reaching the target or the stop. With a 1x target the win rate rose to 41%, with 3x it fell to 11%, and the average result barely moved (−0.07R and −0.06R after costs).

What is the best timeframe for the 9/21 EMA crossover on gold?

Slower charts did better after costs: −0.19R a trade on 1-minute candles, −0.07R on 5-minute, −0.04R on 15-minute and 0.00R on 1-hour candles. The 1-hour chart gave only 1,383 trades and lost money in 2021 to 2024 (−0.02R) before gaining in 2025 to 2026 (+0.05R), so it is too small and too uneven to lean on.

What helped the 9/21 EMA crossover most on gold?

Trading less often. Taking only crosses in the direction of the 1-hour 200 EMA trend gave −0.04R a trade after costs over 8,267 trades. Skipping setups whose stop was under 10% of the typical daily move gave −0.05R. Neither turned it into a winner.

Where should the stop go on a 9/21 EMA crossover?

The swing stop did better than the popular alternative. A stop one average candle range beyond the 21 EMA gave −0.10R a trade after costs, against −0.07R for the stop below the lowest low since the last opposite cross. Waiting for the cross candle to close past the last 10 candles' high (low for shorts) gave −0.05R, and the 8/21 cross gave −0.07R.

Other strategies we tested

Each one tested the same way on gold, with costs. Result after costs, per trade:

All strategies tested on gold

Is your version different?

Send us your rules and we'll test them on 5.4 years of gold, free, the same way we tested this one.