Moving average: the trend with the noise taken out

A moving average smooths price by averaging the last so many closes, so the line follows the trend and ignores the jitter. It is the base of most other indicators, including MACD and Bollinger Bands.

By imbalance ResearchUpdated 18 Nov 20266 min read

An engraved caravan of camels crossing dunes, the lead camel carrying a saffron lantern
BTC · EMA 9 above EMA 21

A moving average is the average closing price over the last so many candles, recalculated as each new candle closes and drawn as a line. It smooths out the candle-to-candle noise so the direction of the trend is easier to see, at the cost of reacting late when the trend changes.

The number of candles sets the trade-off. A 9-period average hugs price and turns quickly; a 200-period average moves slowly and describes the long trend. Most indicators are built on averages, including MACD and Bollinger Bands.

Live

EMA 9 and EMA 21 on the last 96 hours

61,09896 hours, 1h candles
EMA 9EMA 21Crossed upCrossed down
BTC hourly EMA 9 is 61,298 and EMA 21 61,102: the fast average is above the slow one. The last crossover was upward, 27 hours ago. Source: Delta Exchange India, read by imbalance at 06:18 pm IST. A reading, not advice.

SMA and EMA

Simple (SMA)Every close in the window counts equally. Steady, and slower to react, because a close from 20 candles ago weighs as much as the latest.
Exponential (EMA)Recent closes weigh more, each older one a little less. It turns sooner after a change, and is the one most short-term traders use.
Common lengths9 and 21 for short swings, 50 for the medium trend, 200 for the long one. Many traders watch the same few, which is part of why those few matter.
TimeframeA 200-period average on an hourly chart covers about eight days; on a daily chart, most of a year.

imbalance’s EMA seeds with the simple average of its first period, the convention TradingView uses, so its values line up with other charting sites.

The EMA crossover

When a fast average crosses above a slow one, recent prices have risen above the longer-run average, and momentum is turning up. Crossing below is the reverse. The figure marks every crossing of EMA 9 and EMA 21 in the window. In a trend, crossings are few and the trades they suggest can run; in a sideways market they come one after another and most reverse, the cost of any signal built on averages.

Averages as support and resistance

In a steady trend, pullbacks often stop near a well-watched average, the 21 or the 50, before the trend resumes. Traders treat a close back through that average as a first sign the trend is weakening. A flat average with price crossing it repeatedly says there is no trend to follow.

A moving average describes where price has been. It is smoothed, so it is always late, and the smoother it is the later it gets. Use it to tell trending markets from ranging ones before choosing which other tools to trust.

Questions people ask

What is a moving average?

The average closing price over the last so many candles, recalculated each candle, drawn as a line. A 20-period average on an hourly chart is the average of the last 20 hourly closes.

What is the difference between SMA and EMA?

A simple moving average weights every close equally. An exponential moving average gives recent closes more weight, so it reacts faster to a change in direction and lags less.

What is an EMA crossover?

A fast EMA crossing a slow one, such as the 9 crossing the 21. Crossing above is read as momentum turning up, crossing below as it turning down. In a sideways market crossovers come often and mostly reverse.

Which moving average is best for trading?

There is no best one. Short averages such as 9 or 20 follow short moves; 50 and 200 describe the bigger trend. Many traders watch the same few, which is part of why those few matter.

This guide explains how a measure is built and how traders read it. It is education, not investment advice. Live readings are estimates from Delta Exchange India market data at the time shown; markets can and do move against any reading.

Keep reading

Confirm it’s you

To , enter the code we sent and your password.