Technical Analysis · Trend Fundamentals

Complete Moving Average Guide
What SMA, EMA, and the 200-Day Line Really Mean

2026-06-03·10 min read·Beginner ~ Intermediate

The moving average (MA) is the foundation of all technical analysis. But 99% of beginners get one thing wrong:a moving average isn't a signal — it's a "state". Miss that distinction and you'll keep falling for the "buy the golden cross, sell the death cross" slogan.

This article goes from basics to practice: the difference between SMA and EMA, what 5/20/50/200 actually represent, the true win rate of golden/death crosses, and four practical combination strategies.

1. What's the Difference Between SMA and EMA?

SMA (Simple Moving Average)

The most intuitive: the arithmetic mean of the last N candles.

text
SMA(20) = (close_1 + close_2 + ... + close_20) / 20

Every candle carries equal weight. The upside is that it's "fair"; the downside is that it's slow to react.

EMA (Exponential Moving Average)

Gives more recent candles more weight. Over the same 20 periods, today's close might account for about 9% of the weight, while a close from 30 days ago accounts for just 0.1%.

text
α = 2 / (N + 1)  // N=20 → α ≈ 0.095
EMA_today = α × close_today + (1 - α) × EMA_yesterday
When to Use SMA vs EMA
EMA: More responsive to trend turns — good for momentum strategies (buying strength, selling weakness).
SMA: Stable but slow — better as a reference for support/resistance and long-term trend direction.
Short periods (5, 9, 12) generally use EMA; long periods (100, 200) often use SMA, because institutional traders watch the SMA 200.

2. What Do 5, 20, 50, and 200 Each Mean?

Different periods reflect trends at different time scales. Common combinations:

PeriodUseWhat It Represents
EMA 9Fast short-term responseMomentum over the last 9 periods
EMA 20Intraday trend linePrice center of the last 4 weeks (daily chart)
EMA 50Medium-term support / resistanceAbout 2 months on the daily chart; popular with institutions
SMA 200Big-picture trendThe finance world's "bull/bear dividing line" — breaking it often triggers systematic selling pressure

3. The Real Win Rate of Golden / Death Crosses

The media loves to shout "buy the golden cross, sell the death cross." In reality:

  • Definition: short-term MA (EMA 50) crossing above the long-term MA (SMA 200) = golden cross; the opposite = death cross
  • Actual win rate: backtesting BTC over the past 5 years, a pure golden/death cross has a win rate around 35-45%
  • Why so low: moving averages are lagging indicators — by the time the cross happens, price has often already moved 10-20%
EMA 均線交叉教學圖兩條 EMA(短週期 20 與長週期 50)。短均線上穿長均線時為黃金交叉, 下穿為死亡交叉,是趨勢追蹤策略的核心訊號。EMA 20EMA 50🟢 黃金交叉
圖 3:EMA 20 上穿 EMA 50 = 黃金交叉(做多訊號)
When Golden/Death Crosses Actually Work
Long-term trending markets (single-direction moves lasting over a year). The golden cross in BTC's 2020-2021 bull market and the death cross in the 2022 bear market did lead the major moves. But in chop, you'll get slapped by repeated false crosses.

4. The Strategy That Actually Works: Price + Moving Average Structure

A moving average isn't a signal — it's a state read. Look at where price sits relative to the MAs:

Bullish Stack

Price > EMA 9 > EMA 20 > EMA 50 > SMA 200

This is a strong bullish structure — do not try to short. Trade with the trend and buy pullbacks to the MAs.

Bearish Stack

Price < EMA 9 < EMA 20 < EMA 50 < SMA 200

Strong bearish structure — do not try to catch the bottom. Trade with the trend and short rallies into MA resistance.

Tangled (Chop)

The MAs are intertwined with no clear order — don't trade trends here. Either range-trade or stay flat.

pine
//@version=5
indicator("MA Alignment Detection", overlay=true)

ema9 = ta.ema(close, 9)
ema20 = ta.ema(close, 20)
ema50 = ta.ema(close, 50)
sma200 = ta.sma(close, 200)

// Long alignment
bullish = close > ema9 and ema9 > ema20 and ema20 > ema50 and ema50 > sma200

// Short alignment
bearish = close < ema9 and ema9 < ema20 and ema20 < ema50 and ema50 < sma200

bgcolor(bullish ? color.new(color.green, 90) : na, title="Long Alignment")
bgcolor(bearish ? color.new(color.red, 90) : na, title="Short Alignment")

plot(ema9, "EMA 9", color=color.aqua)
plot(ema20, "EMA 20", color=color.yellow)
plot(ema50, "EMA 50", color=color.orange)
plot(sma200, "SMA 200", color=color.red)

5. Advanced: The MA Pullback Buy Strategy

When the stack is bullish, price often "pulls back to EMA 20" before continuing higher. That's a high-quality buy point inside a trend.

pine
//@version=5
strategy("Long Pullback EMA20 Buy", overlay=true)

ema20 = ta.ema(close, 20)
ema50 = ta.ema(close, 50)
sma200 = ta.sma(close, 200)

// Major trend filter: must be above SMA 200
bigTrendUp = close > sma200 and ema50 > sma200

// Pullback: current bar low touches EMA 20 but close stays above
pullbackBuy = bigTrendUp and low <= ema20 and close > ema20

if (pullbackBuy)
    strategy.entry("Long", strategy.long)

// Close position on break below EMA 50
if (close < ema50)
    strategy.close("Long")

6. Is the SMA 200 Actually Useful?

The answer: yes, on major liquid assets (BTC, ETH, SPX, Gold), it really does work. Institutional traders and quant funds watch the SMA 200 as a "dynamic trend line."

Common patterns:

  • BTC breaks below the daily SMA 200 → institutional positions start unwinding, derivatives flip heavily short
  • BTC reclaims the SMA 200 → a trend-flip signal that often triggers FOMO buying
  • The SMA 200 becomes dynamic resistance / support — price often reacts on touch
Why You Don't See This on Small Caps
Altcoins and memecoins don't have the same "institutional consensus" effect around their SMA 200. Sometimes whales will even engineer fake breakouts to bait retail. The SMA 200 works on large, liquid assets — it doesn't apply to small caps.

7. Common Mistakes

Treating the EMA as a Signal Generator

Many people take "price crossing the EMA 20" as a buy or sell signal on its own. That's one of several entry conditions for a trend follower — not a complete strategy. You need a trend direction, stop loss, and exit rules to go with it.

Using an EMA That's Too Short and Expecting "Accuracy"

An EMA 5 on a 1-minute chart basically hugs price, producing noisy signals with win rates dropping to around 30%. Unless you're doing HFT, don't use an EMA < 9.

Multi-Timeframe Misalignment

A 1-hour EMA golden cross while the daily is in a death cross → your entry is fighting the larger trend. Set direction from the daily EMA structure first, then use the hourly EMA to time entries.

Get started

Ready to ship what you just learned?

Wire your strategy to a TradingView webhook and auto-execute on Binance / OKX / Bybit and 4 more.

Start free trial

8. EMA + RSI / MACD Combination Strategies

Moving averages on their own are weak — paired with momentum indicators they multiply in power. See: