Knowledge · Strategies · Moving Average Crossover (Golden/Death Cross)

Moving Average Crossover (Golden/Death Cross)

Charles Dow (1890s, conceptually); the 50/200 version popularized from the 1970s
Trend Following Evidence: Moderate swing to position equitiescryptofuturesfx
7/10
Relevance for Botty
Long when the fast MA crosses above the slow MA (golden cross), short/flat on the inverse cross. Classically 50/200 daily.
The shorter moving average reacts faster to price; when it crosses the longer one from below, this signals a trend change to the upside. The simplest trend-filter logic — almost every systematic strategy contains it in some form.
Relevance Score 7/10
Botty already has an EMA_CROSSOVER strategy. An MA crossover as a regime filter (e.g. 'only long when price > EMA-200') makes sense in almost every strategy.

Entry

  • Long entry: fast MA (e.g. 50) crosses the slow MA (e.g. 200) from below
  • Short entry (optional): inverse cross
  • Entry at the next bar close after the cross

Exit

  • Opposite cross
  • Alternatively: trailing stop at N×ATR below price
  • Sometimes combined: exit on a fast-MA break to avoid giveback
NameTyp. valueDescription
fast_period 50 Shorter MA; 10/20/21 also common
slow_period 200 Longer MA; 50/100/200 popular
ma_type SMA or EMA EMA reacts faster, more noise

Pros

  • Trivial to implement and backtest
  • Reliably catches large trends
  • Provides psychological discipline — an objective rule instead of gut feeling
  • Versatile as a regime filter

Cons

  • Strongly lagging — entry 5-15% after the low, exit 5-15% after the high
  • Whipsaws in sideways markets — many small losses
  • Never enough on its own — needs to be combined with a filter (volatility, ADX, etc.)
  • Performance is regime-dependent: shines in strong trends, suffers otherwise
cagr
~7% golden-cross-only on BTC vs. ~buy-and-hold
notes
Lagging indicator. Works better as a regime filter than as a stand-alone signal.
win rate
35-45% — low, but wins are significantly larger than losses
max drawdown
~30-40% less than buy-and-hold
time in market
~50-70% — significantly reduced
Very good for slow bots; barely any latency requirements. Weak as a standalone signal, very strong as a filter.

Core idea

A shorter moving average reacts faster to price changes than a longer one. When it breaks through the longer one from below to above, that is evidence of an establishing uptrend — the golden cross. Conversely: death cross on a downward cross.

The 50/200-day combination is the most popular — because it receives broad media attention, it has a real influence on market behavior through reflexivity.

Variants

Setup Timeframe Typical use
10/20 EMA Intraday Scalping, fast trend
20/50 EMA 1h–4h Swing
50/200 SMA Daily Long-term regime
EMA vs. EMA any More responsive, but more noise

Evidence

Backtests on Bitcoin (2015-2025) show ~7% CAGR for golden-cross-only strategies vs. buy-and-hold — less return, but significantly less drawdown and time in market. This is typical for all MA crossovers: you give up peak performance and get risk reduction in exchange.

The real problem: win rate below 50%. In sideways phases the system constantly produces whipsaws. The net profits come from a few large trends (fat tails).

Best practice

  • Never use alone — always combine with a volatility filter (e.g. ADX > 25), position sizing and stops.
  • Use as a regime filter: run other strategies (mean reversion, breakout) only in the matching regime.
  • EMA vs. SMA: if you want less lag, take the EMA — but expect more false signals.

Relevance for Botty

Botty already uses EMA crossover strategies. The most important application is as a trend filter: e.g. only accept long signals when price > EMA-200. That eliminates the worst long entries in bear markets and is a free lunch in almost all strategies.