Our partnerSkilling
  • Spreads from 0.1 pips
  • 1,000+ instruments
  • Free demo account

65% of retail investor accounts lose money when trading CFDs with this provider.

Open account
Module 4 · Moving averages

4.1 SMA and EMA

Lesson 14 of 22Reading time: 2 min

A moving average is the average price over a set number of periods. It “smooths out” the price and makes the trend easier to see.

Simple moving average (SMA)

An SMA adds up the closing prices for the last n periods and divides by n.

SMA(5) = (sum of the last 5 closing prices) ÷ 5

Every period counts equally. That makes the SMA stable, but slow.

Exponential moving average (EMA)

An EMA gives more weight to the most recent prices. It reacts faster when the price turns.

SMAEMA
ReactsSlowerFaster
False signalsFewerMore
SuitsLong trends, support and resistanceShort-term trading

Common periods

PeriodUse
20Short-term trend
50Medium-term trend
200Long-term trend – very widely watched

The 200-day moving average is so well known that the media often report when an index breaks above or below it.

All moving averages lag

Because they are based on past prices, moving averages are always a little behind the market. They confirm a trend, but do not predict it.

Try it yourself

Put a 20 SMA and a 20 EMA on the same chart. Which one reacts first when the price turns?

Key takeaways

  • A moving average is the average price over a period.
  • The SMA weights all periods equally; the EMA weights the most recent most and reacts faster.
  • 20, 50 and 200 are the most used periods.
Practise what you have learned – without riskTry it on a free demo account with Skilling, with real prices and virtual money.
Open a free demo account

65% of retail investor accounts lose money when trading CFDs with this provider.