Replay Trader

An EMA crossover strategy trades the moment a faster exponential moving average crosses a slower one: fast above slow = buyers taking control, fast below slow = sellers. It's the simplest fully mechanical trend strategy that exists — which makes it both a great first strategy to learn discipline with, and a perfect first backtesting project.

Choosing your pair of EMAs

Pair Style Character
9 / 21 Day trading (5m–1H) Fast, many signals, more noise
20 / 50 Swing trading (4H–D) Balanced middle ground
50 / 200 Position ("golden cross" / "death cross") Very slow, catches only major trends

The famous golden cross (50 over 200) and death cross (50 under 200) are just this strategy on daily candles — headline-friendly, but far too slow for active trading. For practicing, 9/21 on 15-minute crypto charts gives you plenty of signals per replay session.

The strategy rules (9/21 version)

The one problem you must solve: chop

Every crossover system has the same failure mode: in a sideways range, the EMAs braid around each other and generate a stream of instant losers. This is where most traders abandon the strategy — usually right before the next trend pays for all of it.

Two practical filters:

  1. Higher-timeframe trend filter: only take longs when price is above the 200 EMA on your timeframe (or the trend is up one timeframe higher).
  2. Structure filter: skip signals that fire in the middle of an obvious multi-day range; take them on breakouts from it — see the breakout strategy.

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

How to backtest it

Crossovers are fully mechanical, so your replay backtest doubles as a discipline test — there's no judgment to hide behind:

  1. Open chart replay, random historical chart, 15m candles.
  2. Take every crossover signal (filtered version and/or raw — run them as separate samples).
  3. 50 trades per version, log results in R.

Typical honest result: raw crossovers hover near breakeven (chop losses eat trend gains); the filtered version turns positive. Seeing that difference in your own data is worth more than any article — including this one.

Common mistakes

  1. Quitting during the whipsaw phase — the losing streaks are structural, not a sign it's broken. Position sizing (1% risk) exists so you can survive them.
  2. Predicting the cross before it closes — wait for the candle close.
  3. Trading it in ranges knowingly — "just this one" is how the edge dies.
  4. Stacking five extra indicators on top — you end up never entering. One filter is enough.

FAQ

What is the best EMA crossover combination?

There is no universal best — 9/21 is the standard for intraday, 50/200 for long-term trend calls. Differences between "good" pairs are small compared to the difference made by the chop filter and your discipline. Test 9/21 vs. 20/50 on your market in replay.

Is the EMA crossover strategy profitable?

Raw, it's roughly breakeven in most markets — profitable in trends, bleeding in ranges. With a trend/structure filter and consistent 1R stops it's a viable, fully mechanical system. Your backtest will tell you within a week.

EMA or SMA for crossovers?

EMA reacts faster because it weights recent candles more heavily — better for shorter timeframes. SMA is smoother and slightly slower. The choice matters less than the filter; pick EMA and move on.

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