What is a moving average?
A moving average is the average price over the last several periods, worked out again each time a new period ends. It smooths the chart so that the direction is easier to see.
- Level 3 Reading Charts
- Lesson 25 of 31
- 5 min read
- 2 questions
A moving average is the average of the closing prices over a set number of recent periods, drawn as a line on the chart. Each time a candle closes, the oldest price drops out of the calculation and the newest comes in, so the line moves along with the market. It smooths out the small swings and shows the underlying direction.
What it does
Price jumps about from one candle to the next. The average of the last ten closes changes far less, because any one close is only a tenth of it. The result is a smoother line that follows the price a little way behind.
The lag
In the figure, price made its low at 1.0852. On that candle the 10-period average stood at 1.0873, which is 21 pips above the price, and it was still falling. It did not turn up until four candles later. At the high of 1.0994 the average was at 1.0971, 23 pips below.
A moving average describes what price has done up to now. It cannot turn before price does. Every use of a moving average in this section inherits that delay.
The period
The number of closes in the average is called its period, or its length.
| Period | How the line behaves | Typical use |
|---|---|---|
| 10 or 20 | Close to the price, quick to turn | Short-term direction |
| 50 | Smoother | The trend over recent weeks on a daily chart |
| 100 or 200 | Very smooth and slow | The long-term trend |
These numbers are conventions. Twenty daily closes is about a month of trading, and 200 is about 40 weeks. No period is correct. The popular ones matter partly because so many traders watch the same lines.
Two kinds
A simple moving average counts every close in its window equally. An exponential moving average gives more weight to the most recent closes. The next two lessons cover each in turn.
What it is used for
Traders use moving averages to judge the direction of a trend, to compare a faster average with a slower one, and as a moving level where pullbacks may end. The last three lessons of this section take those uses one at a time. Level 5 covers the indicators that are built on top of moving averages.
Key points
- A moving average is the average of the last several closes, recalculated at every new close.
- It smooths the price and it lags: at the low in the example it was 21 pips above the price and still falling.
- The period sets how smooth and how slow the line is. 20, 50, 100 and 200 are common conventions.
- The two main kinds are the simple and the exponential moving average.
Quick check
These questions do not count towards your quiz score.
Common mistakes
- Expecting the average to turn when price turns. It is built from past closes, so it always turns afterwards.
- Trading every wiggle of a short average on a noisy chart. A short average on a one-minute chart is nearly as jumpy as the price.
- Looking for the one correct period. There is none. A period is a choice about how much history to include.
Another example
Five daily closes of USD/JPY are 150.10, 150.30, 150.20, 150.60 and 150.80. They add up to 752.00, so their average is 150.40. The next day closes at 151.30, a jump of 50 pips. The oldest close, 150.10, drops out, the new sum is 753.20 and the average becomes 150.64. Price moved 50 pips in a day and the 5-period average moved 24. A 50-period average, in which each close is only 2% of the total, would have moved far less.
Questions people ask
What does a moving average tell you?
It tells you the average closing price over its period, and so the general direction price has taken over that time. A rising line means recent closes are higher than older ones. It says nothing certain about the next candle.
Is a moving average a lagging indicator?
Yes. It is calculated only from prices that have already closed, so it can react to a turn but cannot anticipate one. The longer the period, the longer the delay. Level 5 covers the difference between leading and lagging tools.
What do the 50 and 200 moving averages mean?
They are the averages of the last 50 and the last 200 closes, most often on a daily chart. Traders use the 50 as a guide to the trend of recent months and the 200 as a guide to the long-term trend. Their importance is a matter of habit: many people watch them, so price often reacts near them.
Which price does a moving average use?
The closing price of each candle, unless you change the setting. Platforms also allow the open, the high, the low or an average of several of them. The close is the standard, and the examples in this course use it.
Lessons are free to read without an account. Sign in and PipCircle remembers where you stopped, keeps your quiz scores and awards your badges. Sign in free
Trading foreign exchange and CFDs carries a high risk of losing money. PipCircle Learn is education and is not investment advice.