No Session Today
View all rates
Beginner3 min readTechnical Indicators · 2/16

Moving Averages: SMA vs EMA

Price rises and falls every day, and the daily noise can hide the bigger picture. A moving average smooths that noise, and its type decides how quickly it reacts to the latest prices.

What you will learn

  • Calculate a simple moving average (SMA) by hand and see why it is called moving.
  • Understand how SMA and EMA differ in speed of response.
  • Know the price of speed and of calm: lag or noise.
The lesson as a short video · 20 seconds · Watch on YouTube
In this lesson

The simple moving average (SMA)

The simple average is the ordinary average from school: add the closing prices for a number of sessions and divide by how many there are. "Moving" means that each new session enters the calculation and the oldest one drops out, so the average travels with time.

Worked exampleAn invented stock closed its last 5 sessions at 10.0, 10.2, 10.4, 10.6 and 11.0. The sum is 52.2, so the average is 52.2 ÷ 5 = 10.44. Next day it closes at 11.5: 10.0 drops out, 11.5 comes in, and the new average is 53.7 ÷ 5 = 10.74.

The exponential moving average (EMA)

In an SMA every session carries the same weight. An EMA gives more weight to the latest prices. The formula: new EMA = old EMA + (new close − old EMA) × a factor. For a 5-session period the factor is 2 ÷ 6, about one third.

Continuing the example: if the old EMA was 10.44 and the new close is 11.5, the new EMA is 10.44 + 1.06 × 1/3 ≈ 10.79. The same session lifted the SMA only to 10.74, so the EMA closed in on the price faster.

PriceEMASMA
Same period for both: the EMA turns with price sooner; the SMA is calmer and turns later.

Speed has a price, and so does calm

MythEMA is better because it is faster.
RealityFaster also means more affected by short moves that may reverse.
MythSMA is old and slow.
RealityIts slowness is what lets it ignore noise. The lag is the price of that calm.
MythThe average says where price will go.
RealityAn average summarizes prices that already happened. It describes; it does not forecast.

The length of the period matters as much as the type. A 20-session average describes the last few weeks; a 200-session average describes a much longer picture. There is no right or wrong period, only one that suits the question you are asking.

Compare the two yourself

Open any stock chart on FoudaLens, switch on SMA 20 and EMA 12 together, and watch which one turns first when price changes direction.

Check yourself

1. Three closes: 8, 9 and 10. What is the 3-session SMA?

The sum 27 ÷ 3 = 9.

2. Why does an EMA move faster than an SMA of the same period?

The difference is the weighting: the latest close counts more in an EMA.

Summary

  • An SMA is a plain average of recent sessions, each with equal weight.
  • An EMA weights recent prices more, so it reacts faster and picks up more noise.
  • An average describes past prices; its length decides whether it describes a short or long picture.

Related terms

Related lessons

Educational content only, not investment advice. Companies and figures in the examples are invented for illustration.