Moving Averages: SMA, EMA, and WMA Use Cases

By Equicurious intermediate 2025-10-10 Updated 2025-12-31
Moving Averages: SMA, EMA, and WMA Use Cases
In This Article
  1. What Moving Averages Measure
  2. Simple Moving Average (SMA)
  3. SMA Calculation Example
  4. Exponential Moving Average (EMA)
  5. EMA Calculation Example
  6. Weighted Moving Average (WMA)
  7. WMA Calculation Example
  8. Comparison of Responsiveness
  9. Common Moving Average Periods and Uses
  10. Short-Term (5-20 periods)
  11. Intermediate-Term (21-100 periods)
  12. Long-Term (100+ periods)
  13. Moving Average Crossover Signals
  14. Crossover Example
  15. Use Cases by Average Type
  16. SMA Best Applications
  17. EMA Best Applications
  18. WMA Best Applications
  19. Limitations and Tradeoffs
  20. Practical Application Guidelines
  21. Next Steps

What Moving Averages Measure

Moving averages smooth price data by calculating average values over a specified lookback period. They reduce noise from daily price fluctuations and help identify the underlying trend direction.

The three primary types—Simple Moving Average (SMA), Exponential Moving Average (EMA), and Weighted Moving Average (WMA)—differ in how they weight historical data points. Each weighting scheme produces different responsiveness to recent price changes.

Simple Moving Average (SMA)

The SMA assigns equal weight to all prices in the lookback period.

Formula: SMA = (P₁ + P₂ + P₃ + … + Pn) / n

Where:

SMA Calculation Example

Calculate a 5-day SMA using these closing prices:

SMA(5) = ($50.00 + $51.25 + $50.75 + $52.00 + $51.50) / 5 SMA(5) = $255.50 / 5 = $51.10

On Day 6, if the close is $53.00:

Characteristics:

Exponential Moving Average (EMA)

The EMA applies greater weight to recent prices using a smoothing multiplier.

Formulas: Multiplier = 2 / (n + 1) EMA = (Current Price × Multiplier) + (Previous EMA × (1 - Multiplier))

Where n = number of periods

EMA Calculation Example

Calculate a 5-day EMA:

Step 1: Calculate the multiplier Multiplier = 2 / (5 + 1) = 2 / 6 = 0.3333 (33.33%)

Step 2: Use SMA as the initial EMA value From our prior example, the initial EMA (using Day 1-5 SMA) = $51.10

Step 3: Calculate Day 6 EMA with close of $53.00 EMA = ($53.00 × 0.3333) + ($51.10 × 0.6667) EMA = $17.67 + $34.07 = $51.74

Compare to SMA on Day 6: $51.70 The EMA ($51.74) responds more quickly to the price increase.

Weight distribution in a 10-period EMA:

Weighted Moving Average (WMA)

The WMA assigns linearly decreasing weights to older prices.

Formula: WMA = (P₁ × n + P₂ × (n-1) + P₃ × (n-2) + … + Pn × 1) / (n + (n-1) + (n-2) + … + 1)

The denominator equals n × (n+1) / 2

WMA Calculation Example

Calculate a 5-day WMA using the same prices:

Denominator = 5 × 6 / 2 = 15

WMA = ($50.00 × 1 + $51.25 × 2 + $50.75 × 3 + $52.00 × 4 + $51.50 × 5) / 15 WMA = ($50.00 + $102.50 + $152.25 + $208.00 + $257.50) / 15 WMA = $770.25 / 15 = $51.35

Weight distribution for 5-period WMA:

Comparison of Responsiveness

Using our example data, here are Day 5 values:

TypeValueWeighting Method
SMA(5)$51.10Equal
EMA(5)$51.10*Exponential decay
WMA(5)$51.35Linear decay

*EMA equals SMA on the initial calculation

After Day 6 ($53.00 close):

TypeValueChange from Day 5
SMA(5)$51.70+$0.60
EMA(5)$51.74+$0.64
WMA(5)$51.82+$0.47

The WMA and EMA react more quickly to price changes than the SMA.

Common Moving Average Periods and Uses

Short-Term (5-20 periods)

Intermediate-Term (21-100 periods)

Long-Term (100+ periods)

Moving Average Crossover Signals

Crossovers between two moving averages generate trading signals:

Golden Cross: Shorter MA crosses above longer MA (potentially bullish) Death Cross: Shorter MA crosses below longer MA (potentially bearish)

Crossover Example

50-day SMA and 200-day SMA values over four days:

Day50-day SMA200-day SMAPosition
1$48.50$49.2550 below 200
2$49.00$49.2050 below 200
3$49.30$49.1550 above 200 (Golden Cross)
4$49.75$49.1050 above 200

The golden cross occurred on Day 3 when the 50-day SMA ($49.30) crossed above the 200-day SMA ($49.15).

Lag consideration: Because both averages use historical data, crossovers occur after trends have already begun. A golden cross confirms an uptrend is underway rather than predicting one will start.

Use Cases by Average Type

SMA Best Applications

EMA Best Applications

WMA Best Applications

Limitations and Tradeoffs

Lag is inherent: All moving averages lag price action. The longer the period, the greater the lag. A 200-day SMA reflects an average of prices from up to 200 days ago.

Whipsaw in ranging markets: When price oscillates around a moving average without a clear trend, signals generate frequent losses as price crosses back and forth.

No predictive power: Moving averages describe what has happened, not what will happen. A rising 50-day SMA indicates prices have generally increased over the past 50 days. It does not guarantee prices will continue rising.

Parameter sensitivity: Results vary significantly based on the period chosen. A 10-day EMA and a 12-day EMA will generate different signals. There is no universally “correct” parameter.

Practical Application Guidelines

Multiple timeframe analysis: Use longer-period averages (50, 200-day) to identify the primary trend direction, then use shorter-period averages (10, 20-day) for entry timing in the direction of the larger trend.

Support and resistance: Moving averages often act as dynamic support (in uptrends) or resistance (in downtrends). A stock in an uptrend may repeatedly bounce off its 50-day SMA.

Envelope and band creation: Adding fixed percentages above and below a moving average creates trading bands:

If SMA(20) = $50.00:

Next Steps

  1. Calculate a 10-day SMA, 10-day EMA, and 10-day WMA for a stock using the formulas provided, then compare how each responds when the stock makes a significant daily move.

  2. Plot 50-day and 200-day SMAs on a chart covering at least two years to identify any golden cross or death cross events and observe subsequent price action.

  3. Test how a 20-day EMA behaves as support or resistance for a trending stock by noting how often price bounces from the average versus breaks through it.

  4. Document the lag time between when a trend visually begins on a price chart and when a moving average crossover confirms the trend change.

  5. Compare signals from a 9/21 EMA crossover system to a 50/200 SMA crossover system on the same stock to observe how parameter selection affects signal frequency and timing.

Related Articles

Disclaimer: Equicurious provides educational content only, not investment advice. Past performance does not guarantee future results. Always verify with primary sources and consult a licensed professional for your specific situation.