The last two lessons measured the closes against a sloping line. This one measures them against their own average, and against each other. The standard deviation and the variance. The mean absolute deviation. The z-score. And percent rank. By the end, you'll know what each one says about the latest close, and what units it's in.
1 of 9
What you'll learn
- Work out three spreads. Find the variance, standard deviation and mean deviation.
- Know why variance has no level. Read it as rising, falling or turning.
- Read a z-score on a Bollinger chart. A z-score of 2 sits on the upper band.
- Rank the latest close. Count the earlier closes at or below it.
Exercise
- On the 5-minute practice chart in Wildflower, or any platform, take the closes of the last 10 One bar on a price chart. It shows where price opened and closed, and the highest and lowest it reached, in one stretch of time.More in the glossary.
- Work out their average and A measure of how spread out a set of numbers is. The more the closes differ from their average, the bigger it is.More in the glossary, the latest close's How many standard deviations a close sits from the average of recent closes: (close − average) ÷ standard deviation.More in the glossary, and how many earlier closes are at or below it.
Practise this on Wildflower's free practice chart. It needs a free account.
Join waitlistQuick check
1. A 20-candle z-score reads 2. Where is the close?
2. Why does a variance row in Wildflower ask only rising, falling or turning?
3. Percent rank is 100. What does that mean?
0 of 3 answered.
Finished this lesson?
Tick it off and keep your place
Read the full notes
These measure the closes against their own average and each other. The standard deviation and mean absolute deviation are spreads in ticks, the variance is the standard deviation squared, the z-score says how many standard deviations the close is from the average, and percent rank says how many earlier closes it beats.
- Closes 5,000, 5,004, 5,002, 5,006, 5,008: average 5,004, distances −4, 0, −2, 2, 4 (Band width and standard deviation).
- The standard deviation multiplied by itself: the closes’ distances from their average, squared and averaged. It is in price squared.More in the glossary = the distances squared, averaged: 40 ÷ 5 = 8, in price squared. The A measure of how spread out a set of numbers is. The more the closes differ from their average, the bigger it is.More in the glossary = √8 = 2.83 points, 11.3 The smallest step a price can move. On many stock index futures that’s 0.25 of a point.More in the glossary on the A smaller version of a futures contract. It moves in the same steps as the full-size one, but each step is worth less, often a tenth as much.More in the glossary. Wildflower divides by the number of closes, as TradingView does.
- The average distance of a set of numbers from their average, ignoring whether each is above or below. The CCI uses it.More in the glossary = the distances averaged, ignoring minus signs: 12 ÷ 5 = 2.4 points. With one big close (5,000 four times, then 5,010) the standard deviation is 4 and the mean absolute deviation 3.2. Squaring makes a big distance count extra.
- In Wildflower, the standard deviation and mean absolute deviation take their level in ticks. Variance is asked only rising, falling or turning; it moves on the same candles as the standard deviation.
- The How many standard deviations a close sits from the average of recent closes: (close − average) ÷ standard deviation.More in the glossary = (close − average) ÷ standard deviation, with no top or bottom. 8 ÷ 4 = 2. With the same length, a z-score of 2 puts the close on the upper A simple moving average with a band above and below it, set a number of standard deviations of the closes away. Created by John Bollinger.More in the glossary at 2, and −2 on the lower (Standard deviation and z-score guide).
- The share of the closes before this one, over a set length, that are at or below this close, from 0 to 100.More in the glossary = the share of the closes before this one that are at or below it, 0 to 100. Earlier 5,000, 5,004, 5,002, 5,006, 5,008: a close of 5,005 scores 60, 5,008 scores 100. It waits one candle more than its length.
- On the made-up chart, the 20-candle z-score was above 2 on 7 candles of the climb (as high as 2.87), and read 0.30 on the last candle, though price was 40 points above where the climb began.
Worked example
Made-up numbersOne big close
Made-up numbers · closes 5,000, 5,000, 5,000, 5,000, 5,010
- Average 25,010 ÷ 5 = 5,002. Distances 2, 2, 2, 2, 8
- Variance (4 + 4 + 4 + 4 + 64) ÷ 5 = 16. Standard deviation √16 = 4
- Mean absolute deviation (2 + 2 + 2 + 2 + 8) ÷ 5 = 3.2
- Z-score of the last close (5,010 − 5,002) ÷ 4 = 2
One big close lifts the standard deviation more than the mean absolute deviation, and puts that close 2 standard deviations above the average.
Your turn
DrillMade-up numbers · average 5,010 · standard deviation 4 · close 5,016
Trading is risky. You can lose money. This lesson explains how trading works. It isn't advice.