What is a moving average?

A moving average is the average closing price of the last set number of days, worked out afresh each day.

It smooths daily swings into a line that shows the trend. The 20-day, 50-day and 200-day averages are the most used. A price above its 200-day average is commonly read as a long-term uptrend.

A simple moving average (SMA) gives every day the same weight. An exponential moving average (EMA) gives recent days more weight, so it turns faster.

The formula

SMA = sum of the last N closing prices ÷ N

Example

Closes of ₹100, ₹102, ₹104, ₹103 and ₹106 give a 5-day average of ₹103. The next day, the oldest close drops out and the new one comes in.

Good to know

  • It lags: it turns only after the price has turned.
  • A golden cross is the 50-day average rising above the 200-day average. A death cross is the reverse.
  • In a sideways market, the price crosses its averages often and gives false signals.
  • Some traders use an average as a moving exit level.

Common questions

What is the difference between SMA and EMA?

The SMA weighs every day equally. The EMA weighs recent days more, so it reacts sooner to a change in price and also gives more false turns.

What is the 200-day moving average?

The average close of the last 200 trading days, about ten months. It is the most watched line for the long-term trend of a share or an index.

Articles on Moving average

All articles

For learning only: not advice to invest in anything. Every word in the glossary.