Blog / Technical

Moving Averages: SMA vs EMA and How Traders Use Them

Simple and exponential moving averages explained: how they are calculated, popular lengths, crossovers and their weakness in ranges.

What a moving average does

A moving average smooths price by averaging the last N closes. It removes noise so you can see direction. The longer the period, the smoother and slower it is.

SMA versus EMA

A simple moving average (SMA) weights all periods equally. An exponential moving average (EMA) gives more weight to recent prices, so it reacts faster. Neither is better; the EMA suits shorter-term trading, the SMA is often used on longer-term charts.

Popular settings and uses

The 20 or 21 EMA shows short-term trend, the 50 shows medium trend and the 200 is watched by many institutions as the long-term line. Price above the 200 is generally seen as a bull market; below it as a bear market.

Uses: trend filter (only buy above the average), dynamic support (buy pullbacks to the 20 or 50 in an uptrend) and crossovers (fast above slow signals up-momentum).

Limits

Moving averages lag. In a sideways market, price crosses them again and again, creating false signals. Combine them with a market-structure read and a stop loss, and test the exact lengths you plan to use.

Example: pullback to the 50 EMA

A stock trends up and stays above its 50 EMA for weeks. It dips to the average, a bullish candle forms and the trader buys with a stop just below the average and below the candle's low, aiming at the prior high.

The average acts as a guide, not a guarantee. If price closes decisively below the 50 and the 20 turns down, the trend is weakening and the plan is to step aside.

Choosing a length

Short averages (10-20) suit day trading and fast trends. Medium ones (50) suit swing trading. The 200 suits position trading and bias. There is no best number; the best length is the one that matches the time you hold trades. Test two or three lengths on your market and pick the one with the smoothest equity curve, not the highest profit.

Key takeaways

  • EMAs react faster than SMAs.
  • 20/50/200 are the common lengths.
  • Best as a trend filter and dynamic support.
  • They whipsaw in ranges.

Related

Educational content, not financial advice.