MACD crossover strategy, backtested
We backtested the MACD crossover strategy on XRPUSDT and GOOGL in Strategy Lab. Every one below is profitable after costs and stayed profitable on a final 12 months it was never tuned on. The best, XRPUSDT 1h MACD signal cross, made +162% from Jan 2020 to Nov 2026; the median profit factor is 1.51.
- 3Backtested strategies
- +162%Best return after costs
- 1.51Median profit factor
- +10.3%Best last 12 months
Results compared
| Strategy | Timeframe | Direction | Return | Profit factor | Win rate | Max drawdown | Last 12 months |
|---|---|---|---|---|---|---|---|
| XRPUSDT 1h MACD signal cross | 1 hour | Long and short | +162% | 1.27 | 31.5% | −25.4% | +10.3% |
| GOOGL daily MACD signal cross | Daily | Long only | +60.8% | 1.51 | 58.6% | −5.8% | +4.5% |
| GOOGL 1h MACD signal cross | 1 hour | Long only | +49.7% | 1.56 | 40.3% | −4.8% | +7.3% |
Backtests in Strategy Lab at 1% risk per trade, after each market's typical spread. Last 12 months were locked away during the search and tested once.
What worked
Timeframes
1 hour (2), Daily (1).Setups
MACD signal cross (3).Targets
3R (1), 1.5R (1), 2R (1). Wider targets win less often but pay more per winner.Filters and direction
1 with a high-volatility filter, 1 with no filter, 1 with the 200 EMA trend filter; 2 long only, 1 long and short.
How the MACD crossover strategy works
Read the guide: Moving average crossover strategyMACD(12, 26, 9) is the gap between a 12 and a 26-period EMA, with a 9-period average of that gap as its signal line. The MACD line crossing above the signal line means momentum is turning up; crossing below means it's turning down.
These strategies trade each signal-line cross at the candle's close, with a 0.25 ATR stop and a fixed target in R, and a trend or volatility filter to skip weaker signals.
Every strategy
- XRPUSDT
+162.2%
Jan 2020 to Nov 2026
Profit factor
1.27
Win rate
31.5%
Max DD
−25.4%
Momentum · 1 hour
XRPUSDT 1h MACD signal cross
Enter when the MACD(12, 26, 9) line crosses above its signal line for longs, below it for shorts, only when volatility is higher than usual. XRPUSDT 1-hour candles, long and short, 3R target.
See the rules and results - GOOGL
+60.8%
Nov 2006 to Nov 2026
Profit factor
1.51
Win rate
58.6%
Max DD
−5.8%
Momentum · Daily
GOOGL daily MACD signal cross
Buy when the MACD(12, 26, 9) line crosses above its signal line. GOOGL daily candles, long only, 1.5R target.
See the rules and results - GOOGL
+49.7%
Jan 2020 to Nov 2026
Profit factor
1.56
Win rate
40.3%
Max DD
−4.8%
Momentum · 1 hour
GOOGL 1h MACD signal cross
Buy when the MACD(12, 26, 9) line crosses above its signal line, with the 200 EMA trend. GOOGL 1-hour candles, long only, 2R target.
See the rules and results
Backtests are hypothetical: they apply fixed rules to historical data with assumed costs and fills. Past results don't predict future results, and leveraged trading carries a high risk of loss. This is an educational description, not a recommendation.