Skip to content
Wildflower
Join free
Indicators

Free Trading School · Level 2 · Course 2.4

Weighted moving average

Lesson 39 of 99 in IndicatorsModule 7: More momentum and volume indicators

Reading the market · Indicators

Weighted moving average

Wildflower Trading School · Lesson 2.4.7.7

Wildflower

The simple moving average counts every close in its window the same. The exponential average counts newer closes more, and never quite lets go of the old ones. The weighted moving average sits between them. By the end of this lesson, you'll be able to work one out manually, you'll know exactly how its weights fall away, and you'll see how quickly it turns compared with the other two.

1 of 7

What you'll learn

  • Weight the closes. Give the newest the most and the oldest the least.
  • Work one out manually. Multiply, add, and divide by the total of the weights.
  • Compare it with the SMA and EMA. See how its weights sit between the two.
  • See how quickly it turns. Watch it react sooner, and to more noise.

Exercise

  1. On the 5m practice chart in Wildflower, or any platform, write down the last 5 closes.
  2. Work out a 5-candle manually, with weights 1 to 5 adding up to 15, and compare it with a 5-candle .

Practise this on Wildflower's free practice chart. It needs a free account.

Join waitlist

Quick check

  1. 1. In a 10-candle WMA, what weight does the newest close get?

  2. 2. Why doesn't a WMA jump when an old close leaves its window?

  3. 3. Closes 5,000 and 5,006, oldest first, in a 2-candle WMA. What is it?

0 of 3 answered.

Finished this lesson?

Tick it off and keep your place

Make a free account and we'll remember where you are, so “Momentum and rate of change” is waiting next time.

Read the full notes

A weighted moving average gives each close a weight that falls in a straight line, from the length for the newest close down to 1 for the oldest, then divides by the total of the weights.

  • A (WMA) gives the newest close a weight equal to the length, the next one less, down to 1 for the oldest.
  • WMA = (each close × its weight, added up) ÷ the total of the weights. For 20 candles the weights add up to 20 × 21 ÷ 2 = 210.
  • Example: 5,000, 5,004, 5,008 and 5,012 with weights 1 to 4: 50,080 ÷ 10 = 5,008. The is 5,006.
  • The weights fall in a straight line and then stop, between the 's flat weights and the 's, which never reach zero. On the made-up chart, after the top the WMA turned 6 candles later, the EMA 7 and the SMA 14.
  • On a steady climb a 20-candle SMA sits 9.5 candles behind price and a 20-candle WMA about 6.3. An old close fades out gently, so there's no sudden jump when it leaves.
  • It's the building block of the Hull average. Quicker also means noisier in a sideways market.
  • Next: momentum and rate of change. More: moving averages guide.

Read more in the weighted moving average guide.

Worked example

Made-up numbers

A 4-candle WMA

Made-up closes, oldest first · 5,000, 5,004, 5,008, 5,012

  1. 5,000 × 1 = 5,000
  2. 5,004 × 2 = 10,008
  3. 5,008 × 3 = 15,024
  4. 5,012 × 4 = 20,048
  5. Total 50,080 ÷ weights 10 = 5,008

The simple average is 5,006, so the WMA sits 2 points closer to the newest price.

Your turn

Drill

Made-up closes, oldest first · 5,010 · 5,016 · 5,022

Trading is risky. You can lose money. This lesson explains how trading works. It isn't advice.