Learn

What is a moving average

The average price of the last few days, drawn as a smooth line on the chart.

Picture: A jagged daily price line and a smooth moving average line. Below, a walker keeps a steady line while the dog on the lead darts about.

What it means

A moving average is the average closing price over a set number of recent days. Each day the oldest price drops out and the newest comes in, so the average moves along with the price. Drawn on a chart, it is a smooth line that shows the direction of the price without the daily noise.

How it is worked out

Simple moving average (SMA) = Sum of the last N closing prices ÷ N

Example: A 5-day SMA

  1. The last five closing prices: ₹100, ₹102, ₹101, ₹105, ₹107.
  2. Sum = ₹515. SMA = 515 ÷ 5 = ₹103.
  3. Tomorrow the price closes at ₹110. The ₹100 drops out: (102 + 101 + 105 + 107 + 110) ÷ 5 = ₹105.

An exponential moving average (EMA) gives more weight to the most recent days, so it turns faster when the price changes direction.

The 50-day and 200-day averages

Keep in mind

See it on Stockaris

For education only. Not investment advice. Worked examples use made-up companies and round numbers; past market events are given with rounded figures.

Read next