strategy · Rule-based

EMA Crossover Strategy: 9 and 21

An EMA crossover strategy using the 9 and 21 EMAs to capture short- to medium-term trends with clear, mechanical rules.

T By tradernewbie · Test before trading live
#strategy#ema#trend-following#forex
Эта статья на английском. Открыть на вашем языке? Google Translate →

Интерактивные инструменты могут не работать в переведённом виде.

EMA Crossover Strategy: 9 and 21

Overview

The 9/21 EMA crossover is a faster, more responsive cousin of the classic dual moving average system. The 9 EMA tracks short-term momentum while the 21 EMA defines the intermediate trend. When the fast line crosses above the slow, momentum is accelerating up; when it crosses below, momentum is rolling over. Rules are mechanical and easy to follow.

Setup

  • Instruments: forex majors, liquid stocks, index ETFs, large-cap crypto
  • Timeframe: 1H, 4H, or daily
  • Indicators: 9 EMA, 21 EMA, ATR(14)
  • Market regime: trending — avoid in flat, ranging markets where EMAs whipsaw

A tradable setup needs the EMAs to separate cleanly after a crossover, not crab sideways in a tight knot.

Entry rules

  1. Wait for the 9 EMA to close above the 21 EMA (long) or below it (short)
  2. Confirm the crossover bar closed in the direction of the cross
  3. Enter on the next bar's open, or on a small pullback to the 9 EMA for a safer entry
  4. Skip the trade if the 21 EMA is flat — the market is not trending

Stop loss

  • Stop = 1.5 × ATR(14) below entry for longs, above for shorts
  • Alternative: just beyond the swing low/high of the crossover bar
  • Move the stop to break-even once price reaches 1R

Use the stop loss calculator to set the level.

Take profit

  • First target: 2R, take half off
  • Trail the remainder beneath the 21 EMA; exit fully when the 9 EMA crosses back below the 21 EMA
  • In strong trends, hold the runner until the 21 EMA flattens

Confirm the target with the risk-reward calculator.

Risk management

  • Risk 1% of account equity per crossover
  • Position size = risk amount ÷ (entry − stop). Verify with the position size calculator
  • Maximum two open crossover trades on correlated instruments
  • After three consecutive whipsaw losses, reduce size by half — the regime has turned choppy

When it fails

EMA crossovers fail in ranging markets, where the 9 and 21 EMAs tangle and cross repeatedly without follow-through. Each false cross costs a stop. If you see three or more crosses with no follow-through in a session, the EMAs are noise — stand aside until a clean separation appears.

Strategy is for educational purposes only. Not financial advice.

Try the matching calculator →