MACD crossover on gold, 2021 to 2026: 30,414 trades tested

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 with MACD 12, 26, 9: buy at the next open when the MACD line closes above the signal line after being at or below it, sell short on the mirror cross. The textbook signal has no stop, so the stop is the most common public one: the lowest low (highest high for shorts) of the leg since the previous opposite cross. Target 2x the risk. Closed after 4 hours if neither is hit.

This is the textbook version, written from the public definition of the MACD signal line crossover: the MACD line (the 12-period average of closes minus the 26-period average) crossing above its 9-period signal line is a buy, and crossing below is a sell. The textbook signal says nothing about where to put a stop, so we used the most common public rule: 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)30,41424%0.00R−0.11R

Recent months

MonthTradesHit the targetBefore costsAfter costs
November 2026 (so far, to 18 November 2026)24221%−0.06R−0.12R
October 202651023%−0.03R−0.11R
September 202645926%+0.05R−0.01R
August 202644127%+0.07R+0.01R
July 202649326%+0.02R−0.05R
June 202644225%+0.01R−0.05R

By trading session

Session (when the order filled)TradesHit the targetBefore costsAfter costs
Asia (00:00 to 07:00 UTC)9,43427%+0.02R−0.10R
London (07:00 to 13:00 UTC)8,41428%−0.02R−0.11R
New York (13:00 to 21:00 UTC)10,06218%0.00R−0.09R
Late hours (21:00 to 24:00 UTC)2,50427%−0.03R−0.18R

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.01R a trade (the two periods disagree).

ChangeTradesHit the targetBefore costsAfter costs2021–24 / 2025–26 after costs
Textbook rules (above)30,41424%0.00R−0.11R−0.13R / −0.06R
Target 1x risk30,41445%0.00R−0.11R−0.13R / −0.07R
Target 3x risk30,41414%0.00R−0.11R−0.13R / −0.07R
Skip setups with a stop under 5% of the typical daily move26,88023%0.00R−0.09R−0.12R / −0.04R
Skip setups with a stop under 10% of the typical daily move16,64219%0.00R−0.06R−0.08R / −0.03R
Only trade with the 1-hour 200 EMA trend14,62624%+0.01R−0.09R−0.11R / −0.05R
Longs only above the zero line, shorts only below11,25423%−0.01R−0.11R−0.14R / −0.04R
Longs only below the zero line, shorts only above19,16025%0.00R−0.11R−0.13R / −0.08R
Stop at the low (high) of the last 10 candles30,41324%−0.01R−0.11R−0.13R / −0.06R
Faster MACD settings 5, 35, 553,25628%0.00R−0.14R−0.17R / −0.09R
1-minute candles155,56325%0.00R−0.26R−0.30R / −0.18R
15-minute candles9,71124%+0.01R−0.05R−0.07R / 0.00R
1-hour candles2,33824%+0.03R+0.01R−0.03R / +0.08R

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 stop, so we used the most common public one: the lowest low (highest high for shorts) since the previous opposite cross. "Zero line" means the MACD line is above or below zero when it crosses.

The last 10 trades

Filled (UTC)SideEntryStopTargetOutcomeBefore costsAfter costs
2026-11-18 10:15Sell3773.263786.663746.46Time limit+0.69R+0.65R
2026-11-18 08:30Buy3768.443757.513790.30Time limit−0.40R−0.44R
2026-11-18 08:15Sell3761.613774.433735.97Stop−1.00R−1.04R
2026-11-18 08:00Buy3774.083764.813792.62Stop−1.00R−1.05R
2026-11-18 06:20Sell3778.063797.843738.50Time limit+0.42R+0.40R
2026-11-18 04:15Buy3786.093781.253795.77Stop−1.00R−1.09R
2026-11-18 04:10Sell3783.513808.413733.71Time limit+0.67R+0.65R
2026-11-18 02:35Buy3802.483792.223823.00Stop−1.00R−1.04R
2026-11-18 01:45Sell3809.213821.563784.51Target+2.00R+1.97R
2026-11-18 01:40Buy3817.593808.523835.73Stop−1.00R−1.05R

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 19 November 2026.

Questions

Does the MACD crossover work on gold?

Not on 5-minute charts. Over 30,414 textbook MACD crossover trades on gold (July 2021 to November 2026), the average result was 0.00R a trade before costs and −0.11R after costs. The 1-hour chart was the only version above zero after costs, at +0.01R a trade over 2,338 trades, and it lost in 2021 to 2024 (−0.03R) before gaining in 2025 to 2026 (+0.08R). That is too small and too uneven to lean on.

What is the MACD crossover win rate on gold?

With a target of 2x the risk, 24% of trades reached the target. 20% ran out of time before reaching the target or the stop. With a 1x target the win rate rose to 45%, with 3x it fell to 14%, and the average result barely changed (−0.11R and −0.11R after costs). A higher win rate did not mean more money.

What is the best timeframe for the MACD crossover on gold?

Slower charts did better: −0.26R a trade after costs on 1-minute candles, −0.11R on 5-minute, −0.05R on 15-minute and +0.01R on 1-hour candles. Fast charts cross far more often (155,563 trades on 1-minute against 2,338 on 1-hour), so costs take a bigger bite.

Should you only take MACD crosses above or below the zero line?

It made little difference on gold. Taking longs only when MACD was above zero and shorts only when it was below (trading with the trend) gave −0.11R a trade after costs over 11,254 trades. The opposite reading, longs only below zero and shorts only above (buying the dip), gave −0.11R. The plain crossover with no zero line rule gave −0.11R.

What helped the MACD crossover most on gold?

Taking fewer, wider trades. Skipping setups whose stop was under 10% of the typical daily move gave −0.06R a trade after costs, and trading only with the 1-hour 200 EMA trend gave −0.09R. The faster 5, 35, 5 setting made it worse (−0.14R), because it crosses even more often. None of these turned it into a winner on 5-minute charts.

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.