strategy · Rule-based

EMA Crossover Strategy: 9 and 21

An EMA crossover strategy using the 9 and 21 period exponential moving averages to capture short-term trend swings with clear rules.

T By tradernewbie · Test before trading live
#strategy#ema-crossover#forex#stocks

EMA Crossover Strategy: 9 and 21

Overview

The 9/21 EMA crossover is a fast trend-following system. When the 9 EMA crosses above the 21 EMA you go long; when it crosses below, you exit or short. Simple, mechanical, and a great training ground for execution discipline.

Setup

  • Instruments: liquid forex pairs, index futures, large-cap stocks
  • Timeframe: 1-hour or 4-hour (daily is too slow for these MAs)
  • Indicators: 9 EMA, 21 EMA, ATR(14), optional 200 SMA as regime filter
  • Trend filter: only take longs when price is above the 200 SMA

Entry rules

  1. Confirm higher-timeframe direction with the 200 SMA (longs above, shorts below)
  2. Wait for the 9 EMA to cross above the 21 EMA for longs (or below for shorts)
  3. Enter at the close of the crossover candle
  4. Alternative: enter on a retest of the 21 EMA after the cross

Stop loss rules

  • Initial stop: below the swing low of the crossover candle, or 1.5 × ATR(14)
  • Maximum risk per trade: 1% of account
  • Exit if the 9 EMA crosses back below the 21 EMA before the trade is in profit

Take profit rules

  • Exit on the opposite crossover (9 EMA crosses back through 21 EMA)
  • Or scale out: 50% at 2R, 50% trail under the 21 EMA
  • Minimum RR target: 1.5:1

Risk management

Parameter Value
Risk per trade 1% of account
Max open positions 4
Position size Risk ÷ (entry − stop)
Whipsaw filter Skip signals during low-ATR compression

Use the position size calculator and the risk-reward calculator to validate each trade.

When it fails

  • Whipsaw in choppy markets — multiple false crossovers bleed the account slowly
  • Mitigate with the 200 SMA regime filter and an ATR floor (skip when ATR is abnormally low)
  • Late in a trend, crossovers signal near exhaustion and reverse fast

Key principle

Crossovers lag — you'll enter late and exit late. The strategy works when trends are clean and persistent. Filter aggressively; trade fewer, higher-quality crossovers rather than every signal.

Strategy is for educational purposes only. Not financial advice.

Try the matching calculator →