Replay Trader

The MACD (Moving Average Convergence Divergence) turns two moving averages into a momentum gauge: the MACD line (12 EMA − 26 EMA), a signal line (9 EMA of the MACD line), and a histogram showing the gap between them. It answers one question well — is momentum accelerating or fading? — and traders get in trouble when they ask it to do more, like calling tops and bottoms in choppy ranges.

The three MACD signals

  1. Signal line cross: MACD line crosses above the signal line = bullish momentum shift; below = bearish. The most frequent signal — and the noisiest.
  2. Zero line cross: MACD above zero means the 12 EMA is above the 26 EMA (medium-term uptrend); below zero, downtrend. Slow, but a solid trend filter.
  3. Divergence: price makes a new high while MACD makes a lower high — momentum is fading before price shows it. The strongest but rarest signal.

The strategy rules

The classic mistake is trading every signal-line cross — in a range you'll get whipsawed relentlessly. The fix: only take crosses on the zero line's side of the trend.

This turns MACD into a trend-continuation tool: the zero line defines the trend, the cross times the entry.

Practice this on real historical charts

Replay real price action candle by candle and test your entries with a paper account. Free, in your browser, no sign-up.

Start replaying charts — free

MACD vs. RSI — which one?

They measure different things: RSI measures stretch (how far price ran), MACD measures momentum direction. RSI shines at buying pullbacks in trends; MACD shines at confirming a trend is resuming. Many traders combine them — RSI dip for location, MACD cross for the trigger. Fewer signals, better ones. Test the combination against each alone: that's a perfect manual backtesting exercise.

How to backtest it

  1. Open chart replay on a random historical chart.
  2. Advance candle by candle; when a valid filtered cross appears, enter with stop and target set.
  3. Take every valid signal for 50 trades and log the results.
  4. Compare exit rules across sessions: fixed 2R vs. exit-on-opposite-cross behave very differently — fixed targets win in choppy periods, trailing exits win in strong trends. Your data will show the mix in your market.

Common mistakes

  1. Trading crosses inside a flat range — MACD's kryptonite. The zero-line filter removes most of it; skipping obvious chop removes the rest.
  2. Treating divergence as a standalone sell signal — divergence can persist through several more highs. Wait for structure to break.
  3. Tuning the (12, 26, 9) settings until history looks perfect — that's curve fitting, and it breaks forward.
  4. Using MACD alone on low timeframes — on 1–5m charts the lag is fatal; combine with structure or use faster tools.

FAQ

What is the best MACD setting?

The default 12/26/9 is what most of the market watches, which is itself an argument for keeping it. If you change anything, test it against the default over 50 replayed trades before believing it.

Is MACD good for day trading?

On 15m+ charts, yes, with the zero-line filter. On 1–5m charts MACD lags too much for most traders — momentum has often reversed by the time it crosses.

What's the difference between MACD and an EMA crossover?

MACD is an EMA relationship (12/26) with extra machinery for timing. A plain EMA crossover strategy is simpler and easier to read on the chart itself; MACD adds the signal line and histogram for earlier momentum shifts. Backtest both — simplicity often wins.

Put it into practice — risk-free

Reading about trading only gets you so far. Replay real historical charts candle by candle and paper trade your setups — free, in your browser.

Start replaying charts — free