Standard Deviation
Indicator
Standard Deviation measures how far the last 14 closes are spread around their average, in price units. It rises when price swings and falls when it calms.
A basic statistic of volatility. Reviewed by the ChartLabs team, updated Nov 2026.
StdDev is rising. The last 14 closes are spreading further from their average.
StdDev 1,360.1 · 2.08% of price
StdDev is rising. The last 14 closes are spreading further from their average.
StdDev 1,360.1 · 2.08% of price
Illustration on simulated data.
Standard Deviation (StdDev)What is the Standard Deviation indicator?
Standard Deviation draws one grey line in its own panel. Its value is in the instrument's price units: a reading of 500 on a bitcoin chart means the last 14 closes have typically been about 500 dollars from their average.
For each bar it takes the last 14 closes, finds their average, and measures how far each close is from it. Squaring, averaging and taking the square root of those distances gives the standard deviation. ChartLabs uses the population form, dividing by 14, the same form Bollinger Bands use.
A rising line means closes are spreading out, which happens in fast rallies and sell-offs alike. A falling line means closes are bunching together. It says nothing about direction.
The start of the chart
ChartLabs computes Standard Deviation from the first bar using the closes available so far, so the line has values before 14 bars exist. Treat the first few as rough.
StdDev or ATR?
StdDev uses closes only and measures spread around an average. ATR uses highs, lows and gaps and measures bar size. Both rise with volatility.
Standard Deviation signalsFive patterns to know.
Closes bunch together
StdDev sinks to a low. Price is quiet, and quiet spells often come before a larger move.
Waking up after a quiet spell
From a low, StdDev starts climbing. Volatility is returning; price shows which way.
Spreading out in a sell-off
StdDev doubles as price drops. Fast moves spread the closes away from their average.
Rising in a rally
StdDev also climbs when price rises quickly. Volatility is not only a feature of falls.
Settling down
After a burst, StdDev falls back as closes bunch together again.
Standard Deviation formulaHow it is calculated.
Average the closes
Take the simple average of the last 14 closes.
Measure the distances
Subtract the average from each close and square the result.
Average and take the root
Average the squares, dividing by 14, and take the square root.
Standard Deviation settingsEvery setting, explained.
| Setting | Default | Range | What it changes |
|---|---|---|---|
| Length | 14 | 1 to 5,000 (typical 10 to 30) | How many closes are measured. Shorter reacts faster to a burst of volatility. |
| Source | Close | Any price, or volume | Which values are measured. |
| Line | Grey #9598A1, 1 px | Any colour and width | Colour and width of the line. |
| Form | Population (divide by N) | Fixed | The same form Bollinger Bands use. |
- Setting
- Length
- Default
- 14
- Range
- 1 to 5,000 (typical 10 to 30)
- What it changes
- How many closes are measured. Shorter reacts faster to a burst of volatility.
- Setting
- Source
- Default
- Close
- Range
- Any price, or volume
- What it changes
- Which values are measured.
- Setting
- Line
- Default
- Grey #9598A1, 1 px
- Range
- Any colour and width
- What it changes
- Colour and width of the line.
- Setting
- Form
- Default
- Population (divide by N)
- Range
- Fixed
- What it changes
- The same form Bollinger Bands use.
Drag to see how the setting changes the lines and how many signals you get. Illustration on simulated data.
Standard Deviation strategiesUse it in 3 setups.
Expansion after a quiet spell
Volatility returning after a lull often comes with a directional move. Traders let price decide the side.
Watch the lows
A very low reading does not say which way, only that the market is unusually quiet.
Size down when it doubles
Wider swings mean the same stop distance carries more risk. Many traders size positions from current volatility.
Standard Deviation mistakesCommon mistakes.
Reading StdDev as direction
It rises in sell-offs and in rallies. It measures how spread out closes are, never which way they went.
Assuming calm means safe
A falling StdDev only describes the last 14 closes. Quiet markets can move sharply without warning.
Guessing the break direction
A low reading says a move may be coming, not its direction. Here the quiet range broke lower.
Standard Deviation combinationsPair it with these.
Standard Deviation + Bollinger Bands
Bollinger Bands sit two standard deviations from a 20-bar average.
Standard Deviation + ATR
ATR measures bar size including gaps; StdDev measures spread of closes.
Standard Deviation + Historical Volatility
The standard deviation of returns, scaled to a yearly figure.
Standard Deviation + ADX
ADX shows whether rising volatility comes with a trend.
Standard Deviation FAQQuestions traders ask.
What are the default Standard Deviation settings?
Length 14 on the close, population form.
What does a rising StdDev mean?
The last 14 closes are spreading further from their average. Price is moving more, in either direction.
Population or sample standard deviation?
ChartLabs uses the population form, dividing by N, like Bollinger Bands.
Why does the line start on the first bar?
It uses the closes available so far until 14 exist, so early values are based on fewer closes.
StdDev or ATR?
StdDev uses closes only. ATR uses each bar's high, low and the previous close, so it also captures gaps and intrabar swings.
Can I compare StdDev across markets?
Not directly, because it is in price units. Divide by price, or use Historical Volatility, for a comparable figure.
Does StdDev work on crypto?
Yes. It tracks how volatile any market is.
Is StdDev leading or lagging?
Lagging. It describes the last 14 closes.
Does StdDev repaint?
No. Values on closed bars never change. The live bar moves until it closes.
How is it used in other indicators?
Bollinger Bands, Bollinger BandWidth and z-scores are all built on it.
Related indicatorsMore volatility tools.
All volatility indicatorsTry Standard Deviation on a live chart.
Free. No download.
Works in your browser and on iPhone too.