Technical analysis · SMA, EMA & trend

Moving Averages Explained: SMA vs EMA

Moving averages smooth price into a single line that shows trend. Learn the difference between SMA and EMA, the periods traders actually use, and how to use them without over-relying on them.

Amir Wahab 8 min read 1,520 words
70–80% of retail investor accounts lose money trading CFDs. This page is education, not advice. All trade examples are constructed composites.

The short answer

A moving average smooths price by averaging the last N closes into one line, making the trend easier to see. A simple moving average (SMA) weights every close equally; an exponential moving average (EMA) weights recent closes more, so it reacts faster. Common periods are 20, 50 and 200. Use them to read trend direction and as dynamic support/resistance — but remember they lag, because they are built entirely from past prices.

What is a moving average?

A moving average takes the average of a set number of recent closing prices and plots it as a line that updates each period. Because it blends many candles into one value, it filters out the jitter and leaves the underlying direction.

It answers one question well: which way is price trending, and how strongly? A rising average means recent prices are higher than older ones. It is the simplest possible trend tool, which is exactly why it is so widely used.

SMA vs EMA

The simple moving average gives every close in its window equal weight. It is smooth and steady but slow to turn. The exponential moving average weights the most recent closes more heavily, so it hugs price and reacts faster to changes.

Neither is better in the abstract. The EMA turns sooner, which helps in fast trends but gives more false signals in chop; the SMA is calmer but later. Pick one, learn its behaviour, and stay consistent rather than switching after every losing trade.

The periods traders use

Three lengths dominate. The 20 tracks the short-term trend and hugs price closely. The 50 is the standard medium-term trend gauge. The 200 is the widely watched long-term line that separates broad bull and bear conditions.

Because so many traders watch the 50 and 200 especially, price often reacts around them — another partly self-fulfilling effect, like support and resistance.

How to use moving averages

Two honest uses. First, as a trend filter: only take long setups while price is above a rising average, shorts while it is below a falling one. This one rule keeps many beginners out of counter-trend trades.

Second, as dynamic support and resistance: in a trend, price often pulls back to an average (the 20 or 50 EMA) and resumes. That pullback-to-the-average is a cleaner entry than chasing an extended move.

Crossovers

When a faster average crosses a slower one, it marks a shift in momentum. The famous golden cross (50 crossing above the 200) and death cross (50 below the 200) are long-term signals watched market-wide.

Crossovers are simple but late — by the time they trigger, much of the move can be done. They are better as trend confirmation than as precise entries, and they whipsaw badly in ranging markets.

The main limitation: lag

Every moving average is built from past prices, so it always lags the present. In a strong trend that lag is tolerable; in a sideways market it produces a stream of false crossovers and fake support. A moving average cannot tell you a range from a trend — you have to.

Treat them as context, not signals. Combine an average with structure and a trigger, size the trade from your stop, and never trade a crossover just because it happened.

Frequently Asked Questions

What is the difference between an SMA and an EMA?

A simple moving average weights every close in its window equally, so it is smooth but slow. An exponential moving average weights recent closes more, so it reacts faster to price changes but gives more false signals in choppy markets.

What are the best moving average periods?

The 20, 50 and 200 are the most widely used — short, medium and long-term respectively. The 50 and 200 are watched market-wide, so price often reacts around them.

How do you use moving averages to trade?

Use them as a trend filter (only trade in the direction of a rising or falling average) and as dynamic support or resistance where price pulls back to the average in a trend. Combine them with structure and a trigger rather than trading them alone.

What is a golden cross and a death cross?

A golden cross is when the 50-period average crosses above the 200; a death cross is when it crosses below. They are long-term momentum signals but lag price and whipsaw in ranging markets.

What is the main weakness of moving averages?

Lag. Because they are built from past prices they always trail the present, which produces false signals in sideways markets. They confirm trend rather than predict it.


On this page

More in this pillar

Go deeper: price action.

Related guides

Keep going.