blog · ~6 min read

Moving Averages Explained: SMA vs EMA for Beginners

Moving averages are the most widely used indicators in technical analysis. Learn the difference between SMA and EMA, how they're calculated, and how to trade with them.

T By tradernewbie · AI-drafted, human-reviewed
#technical-analysis#indicators#moving-averages

Moving Averages Explained: SMA vs EMA for Beginners

Moving averages smooth out the noise and reveal the trend. They're the Swiss Army knife of technical indicators — simple, versatile, and surprisingly powerful.

If there's one indicator every trader uses, it's the moving average. Whether you're trading stocks, forex, or crypto, MAs help you identify trend direction, find dynamic support and resistance, and generate entry and exit signals. Let's break them down.

What is a moving average?

A moving average (MA) is the average price of an instrument over a specific number of periods. As each new period closes, the oldest data point drops off and the newest is added — so the average "moves" forward with price.

The two most common types are the Simple Moving Average (SMA) and the Exponential Moving Average (EMA).

Simple Moving Average (SMA)

The SMA gives equal weight to every price in the calculation.

Formula

SMA(20) = (P1 + P2 + P3 + ... + P20) / 20

Where P = the closing price of each period.

Example: A 10-day SMA adds up the last 10 closing prices and divides by 10. Tomorrow, it drops the oldest day and adds the new close.

Pros and cons

Advantage Disadvantage
Smooth and stable Slow to react to recent price changes
Less prone to whipsaws Lags behind sharp moves
Great for long-term trend identification Not ideal for fast-moving markets

Best used for: Long-term trend identification (50-day, 100-day, 200-day SMA on daily charts).

Exponential Moving Average (EMA)

The EMA gives more weight to recent prices, making it more responsive to new information.

Formula

EMA(today) = Price(today) × K + EMA(yesterday) × (1 − K)

Where K = 2 / (N + 1), and N = number of periods

For a 20-period EMA, K = 2/21 ≈ 0.0952. This means today's price gets about 9.5% weight, while the remaining 90.5% comes from the previous EMA value — which itself contains all prior prices in a decaying chain.

Pros and cons

Advantage Disadvantage
Reacts quickly to price changes More whipsaws in choppy markets
Hugs price more closely Can give premature signals
Better for short-term trading More noise in the signal

Best used for: Short-term trend following and dynamic S/R (9 EMA, 20 EMA on daily or 4-hour charts).

SMA vs EMA: Which should you use?

It depends on your timeframe and style:

Your approach Recommended MA Common periods
Long-term investor SMA 50, 100, 200
Swing trader EMA 9, 20, 50
Day trader EMA 5, 9, 20
Hybrid approach Both 20 EMA + 50 SMA

Many traders use both — a fast EMA for signals and a slow SMA for trend context.

Key moving average periods

  • 9 EMA — Short-term momentum; popular with day traders
  • 20 EMA — The most popular MA; acts as dynamic support in trends
  • 50 SMA — Medium-term trend filter; institutional favorite
  • 100 SMA — Major trend indicator; strong S/R level
  • 200 SMA — The granddaddy of them all; separates bull from bear markets

Price above the 200 SMA = long-term uptrend. Price below = long-term downtrend. This simple rule keeps you on the right side of the market.

How to trade with moving averages

1. Trend identification

The simplest use: if price is above a rising MA, the trend is up. If price is below a falling MA, the trend is down.

Don't overcomplicate it. If the 50 SMA is sloping up and price is above it, look for longs. If it's sloping down and price is below, look for shorts.

2. Dynamic support and resistance

MAs act as "moving" support and resistance levels. In an uptrend, price tends to bounce off the 20 EMA or 50 SMA. In a downtrend, these same MAs act as resistance.

This is the basis of the pullback to moving average strategy — one of the most reliable approaches for beginners.

3. Crossover signals

When a fast MA crosses above a slow MA, it's a bullish crossover (buy signal). When it crosses below, it's a bearish crossover (sell signal).

Common crossover systems:

  • 9/21 EMA crossover — Fast signals, more whipsaws
  • 20/50 EMA crossover — Balanced, good for swing trading
  • 50/200 SMA crossover — Slow, major signals (see below)

The Golden Cross and Death Cross

These are the most famous crossover signals in the business:

Signal Definition Implication
Golden Cross 50 SMA crosses above 200 SMA Long-term bullish
Death Cross 50 SMA crosses below 200 SMA Long-term bearish

These signals are slow but significant. On the S&P 500, Golden Crosses have historically been followed by above-average returns over the next 6–12 months. However, they lag — by the time the cross happens, the move is often well underway.

How to use them: Don't trade the cross itself (it's too slow). Use it as a trend filter. When the Golden Cross is in effect, bias your trades to the long side. When the Death Cross is active, bias short.

Common mistakes

  1. Using too many MAs — Three is plenty. Five is clutter. Seven is chaos. Pick 2–3 and learn them deeply.
  2. Trading every crossover — Most crossovers in ranging markets are whipsaws. Only trade crossows in the direction of the higher-timeframe trend.
  3. Expecting MAs to predict — MAs follow price; they don't lead it. They confirm trends, they don't forecast them.
  4. Ignoring slope — A flat MA means the trend is unclear. A sloping MA means the trend is strong. The angle of the MA matters as much as the crossover.

Putting it all together

Here's a simple framework to get started:

  1. Put the 200 SMA on your daily chart to determine the long-term trend
  2. Add the 20 EMA for dynamic support/resistance and short-term direction
  3. Only trade in the direction of the 200 SMA trend
  4. Use the 20 EMA for entries — buy pullbacks to the 20 EMA in uptrends, short pullbacks to it in downtrends
  5. Confirm with volume and candlestick patterns

This approach keeps you on the right side of the market and gives you clear, objective levels for entries and exits.

For a complete strategy based on these principles, check out our moving average strategies and use the journal to track your results as you practice.

AI-assisted content · Not financial advice · Trade at your own risk