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)
- Timeframe: 15m–1H
- Setup (long): market is trending — recent higher highs/lows, price not stuck in a flat range
- Entry trigger: 9 EMA closes above the 21 EMA; enter on that candle's close (or on the first small pullback to the 9 EMA — test both)
- Stop-loss: below the most recent swing low, or below the 21 EMA — whichever is nearer
- Exit: when the 9 EMA closes back below the 21 EMA, or at a fixed 2R target
- Short: mirror everything
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:
- 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).
- 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 — freeHow to backtest it
Crossovers are fully mechanical, so your replay backtest doubles as a discipline test — there's no judgment to hide behind:
- Open chart replay, random historical chart, 15m candles.
- Take every crossover signal (filtered version and/or raw — run them as separate samples).
- 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
- 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.
- Predicting the cross before it closes — wait for the candle close.
- Trading it in ranges knowingly — "just this one" is how the edge dies.
- 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