Moving averages, explained

A moving average is the average closing price of the last N bars, redrawn on every bar. It smooths out the noise so the direction is easier to see.

IN ONE LINEPrice above a rising average: the trend has been up. Below a falling one: down. Averages tangled together: no trend.

5 short lessons · about 4 minutes

Price with EMA 9, 21 and 50 · 5-minuteIllustration
  • EMA 9 (fast)
  • EMA 21
  • EMA 50 (slow)

Lesson 1 · SMA and EMA

An EMA turns sooner than an SMA of the same length

A simple moving average (SMA) weighs every bar equally. An exponential one (EMA) gives the newest bars more weight, so it reacts faster when price turns. Most futures traders use EMAs for that reason.

Both 20-bar averages through a turnIllustration
SMA
Every bar counts the same. Smoother, slower to turn.
EMA
Recent bars count more. Quicker to turn, a little noisier.
Length
Short (9, 20) follows price closely. Long (50, 200) shows the bigger trend.

KEYEvery moving average lags price. A shorter or exponential one just lags less.

Lesson 2 · Above or below

Which side of the average price is on is the simplest trend read

If price keeps closing above a rising average, buyers have had the upper hand over that many bars. In a trend, pullbacks often stall near the average before the trend carries on.

Pullbacks to a rising EMA 21Illustration

KEYAn average isn't a wall. Price can cut through it, but in a trend the pullbacks often stop near it.

Lesson 3 · Crosses

A fast average crossing a slow one shows the trend changing

When the fast average crosses above the slow one, recent prices have risen above the longer-run average. On daily charts, the 50 crossing the 200 has its own name: a golden cross (up) or death cross (down).

EMA 9 crossing EMA 21Illustration
Fast over slow
Recent prices are above the longer average.
Fast under slow
Recent prices are below it.
Always late
A cross comes after the turn, and in a range the lines cross back and forth.

KEYA cross confirms a change that already happened. It shines in trends and struggles in ranges.

Lesson 4 · The stack

Averages in order read as trend. Tangled averages read as chop.

Put several averages on one chart. In a clean uptrend they stack in order: fastest on top, slowest at the bottom, fanned apart. In a range they flatten and weave through each other.

Stacked, then tangledIllustration
Stacked and fanned

Every timeframe of average agrees on the direction. A trend.

Flat and tangled

The averages disagree. A range, where crosses don't mean much.

KEYThe order and spacing of the stack is a quick picture of trend or no trend.

Lesson 5 · What to look for

Three questions to ask the averages

  1. Which side is price on?

    Above a rising average: the trend has been up. Below a falling one: down.

  2. Which way is it sloping?

    A flat average says no trend, whichever side price is on.

  3. Stacked or tangled?

    Ordered and spread apart: trend. Weaving together: range.

Common lengths

9 and 21 for intraday, 50 and 200 for the bigger picture. There's nothing magic about them; they're popular, so many traders watch the same lines.

MACD comes from this

MACD is the gap between a 12 and a 26 EMA. MACD lesson →

VWAP is an average too

It weights each price by volume and starts fresh each day. VWAP lesson →

THE RECAP
  • A moving average is the average close of the last N bars. Every one lags price.
  • An EMA weighs recent bars more, so it turns sooner than an SMA.
  • Price above a rising average: up trend. A fast average crossing a slow one: the trend changing.
  • A stack in order means trend; tangled averages mean a range.
Education only · Not financial advice

Charts on this page are illustrations drawn for teaching. Prices are made-up sample data; the averages are the standard formulas run on them. Not real market data and not any product's output. Education only, not financial advice.