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

StrategyTimeframeDirectionReturnProfit factorWin rateMax drawdownLast 12 months
XRPUSDT 1h MACD signal cross1 hourLong and short+162%1.2731.5%−25.4%+10.3%
GOOGL daily MACD signal crossDailyLong only+60.8%1.5158.6%−5.8%+4.5%
GOOGL 1h MACD signal cross1 hourLong only+49.7%1.5640.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 strategy

MACD(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.

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.

TesseraFAQ

MACD crossover strategy questions

Backtest any of these strategies free

Copy a prompt into TES and Strategy Lab rebuilds and backtests it on your own markets. No code, no card.