Trading Education

Standard Deviation Indicator: How to Read Market Volatility

The standard deviation indicator measures how far price strays from its average. Read expansion and contraction to time entries and size risk with context.

By Pyrem R. 8 min read

You sized the trade the way you always do. The setup was clean, the entry was patient, and then price barely moved for two hours before drifting sideways into your stop on a nothing candle. No news, no spike, just a market too quiet to go anywhere. The idea was fine. You brought a breakout plan to a range that had already gone to sleep.

By the end of this guide you’ll be able to tell a coiled market from a stretched one before you commit, using a single line that measures how far price has wandered from its own average.

Key Findings

  • It measures scatter, not direction: the standard deviation indicator reports how tightly recent prices cluster around their moving average, and nothing about which way to trade.
  • Low means coiled, high means stretched: a contracting line marks a quiet market building pressure; an expanding line marks one already moving fast.
  • It is the engine inside Bollinger Bands: the same dispersion value that this line plots is what sets how wide those bands sit.
  • A clean version does not repaint: built from closed candles, settled readings stay fixed while only the live candle updates.

What does the standard deviation indicator actually measure?

The standard deviation indicator measures how far price has strayed from its own average over a set number of candles. A small number means prices are packed tight around that average. A large number means they are scattered wide.

Borrow the idea from statistics and it clicks. Take the last twenty closes, find their average, then measure how far each close sits from it. Prices bunched near the average produce a low reading. Prices flung far above and below produce a high one. That single figure is a clean gauge of how much the market is currently disagreeing with its own recent center.

Here is the part traders miss: this is dispersion, not range. It does not care how tall any one candle was. It cares how spread out the closes are as a group. A market can print several small candles that all drift the same direction and quietly build a high reading, because the closes are marching away from the average even though no single bar looks dramatic.

How do you read expansion and contraction?

Watch the direction of the line, not just its level. A falling line means volatility is contracting and the market is coiling. A rising line means volatility is expanding and price is already committed to a move.

Quiet does not last. When the standard deviation line grinds down to a low it has not touched in weeks, the market is storing energy, and the eventual release is usually sharp. That contraction is the setup; the expansion that follows is the move. Traders who buy breakouts want to be watching during the squeeze, not chasing after the line has already flared.

Quick testFind the flattest, lowest stretch of the standard deviation line on your chart, then look at what price did in the next ten candles. If a clean directional move followed most of those lulls, you've found where this indicator earns its place in your process.

The reverse matters just as much. When the line is already high and starting to roll over, the easy part of the move is usually behind you. Entering a fresh breakout into a peak reading often means buying the exhaustion rather than the expansion.

Contraction Builds, Expansion ReleasesStandard deviationcoiled: the setupexpansion: the move

How is standard deviation different from ATR and Bollinger Bands?

They overlap, so traders lump them together, but each answers a different question. Standard deviation asks how scattered the closes are. ATR asks how far each candle travels. Bollinger Bands wrap that dispersion around a moving average so you can see it on price.

Entry 1
Tool Standard deviation
What it measures Scatter of closes around their average
Best used for Spotting coiled vs stretched regimes
Reads direction? No
Entry 2
Tool ATR
What it measures Average true range per candle, gaps included
Best used for Sizing a stop to real movement
Reads direction? No
Entry 3
Tool Bollinger Bands
What it measures Standard deviation plotted around price
Best used for Seeing squeezes and stretches on the chart
Reads direction? No

The practical split is simple. Reach for ATR when you need a stop distance, because it measures the raw movement a stop has to survive. Reach for standard deviation when you’re judging the regime, because it tells you whether the market is loaded or spent. And if you already run the Bollinger squeeze setup , you are reading standard deviation without knowing it. The bands narrow because this exact value is falling.

Why does one standard deviation matter statistically?

In a normal distribution, roughly two-thirds of readings fall within one standard deviation of the average, and about 95% within two. This is the empirical rule, a basic property of statistics, and it is why John Bollinger set his default bands two standard deviations wide in Bollinger on Bollinger Bands (2001): most price action should sit inside them, and a push outside is, by definition, unusual.

The honest caveat is that markets are not perfectly normal. Prices show fatter tails than the textbook curve, so those big moves that “should” be rare show up more often than the math predicts. Treat the standard deviation reading as a relative gauge, not a probability promise. It is excellent at telling you today is calmer or wilder than last week. It is not a guarantee about where the next candle lands.

RelicusRoad Pro

Have you been trading for a while but have never made consistent profits or are you new to FOREX trading and want to get a head start? Try RelicusRoad and you'll never look back.

Get RelicusRoad Pro

How does it feed position sizing?

A high standard deviation is a warning to trim, not a signal to pile in. When dispersion is stretched, the same stop distance covers a much noisier market, and a position sized for calm conditions is suddenly carrying more real risk than you intended.

The discipline is to let the reading scale your commitment. In a low-dispersion regime, moves are tighter and a normal size fits. As the line expands, the ground under your stop gets rougher, so a smaller position keeps the dollars at risk steady even as the market speeds up. This is the same logic behind the fixed one-percent risk rule : the account decides what a trade may lose, and volatility decides the size that respects it. An indicator can’t fix a bad entry, but it can stop a good entry from being oversized right when conditions turn hostile.

Does the standard deviation indicator repaint?

A correctly built standard deviation line does not repaint. It is a lagging measure drawn from closed candles, so once a candle settles, its close is locked and the dispersion behind it does not rewrite itself later.

The live candle will move the value as it forms, which is expected and not repainting. What you’re watching for is a settled reading that changes after the fact, because that means the tool is reaching into finished data. We mapped the same trap in the non-repaint indicator explainer : a line that quietly edits its own history looks perfect on a screenshot and falls apart on a live account. Standard deviation is on the safe side of that line by design, but design is not proof for every coded version, so verify before you lean on it.

How does RelicusRoad Pro handle volatility?

RelicusRoad Pro reads how dispersed and directional the market is as an input to its levels, so the room a setup is given reflects whether conditions are coiled or stretched rather than a fixed habit. Every signal it commits is decided when the candle closes and stays put, so a reading you trust in the morning is the same reading at night.

None of this is framed as a system that trades for you. A volatility gauge sharpens when to press and when to stand aside; it does not decide whether the idea is sound. That judgment stays yours. What it removes is the quiet mistake of bringing a breakout plan to a sleeping market, or a full-size position to a market that has already blown its range wide open.

Frequently asked questions

What is the standard deviation indicator? It is a volatility indicator that measures how far price has strayed from its own moving average over a set number of candles. A small value means price is hugging its average and the market is quiet; a large value means price is scattered widely and the market is moving fast. It says nothing about direction. It only tells you how dispersed recent prices are, which is the raw measure of how volatile conditions are right now.

What is a good standard deviation setting? Most platforms default to a 20-period standard deviation, the same length John Bollinger used for his bands. Twenty candles covers roughly a month of daily data or a session on lower timeframes, which is enough to reflect the current regime without lagging badly. A shorter period reacts faster and is noisier; a longer one is smoother and slower. Leave it near 20 to start and adjust only if your timeframe demands it.

What is the difference between standard deviation and ATR? Both measure volatility, but they measure different things. ATR averages the true range of each candle, including any gap from the previous close, so it captures raw movement bar to bar. Standard deviation measures how far closing prices sit from their average, so it captures scatter around a center. ATR is usually the better tool for sizing a stop; standard deviation is better for judging whether the market is coiled or stretched relative to its own recent behavior.

Is the standard deviation indicator the same as Bollinger Bands? No, but they are related. Bollinger Bands plot a moving average with an upper and lower band set a number of standard deviations away from it. The standard deviation indicator is the raw dispersion value that decides how wide those bands sit. When the standalone line contracts, the bands squeeze; when it expands, the bands flare out. You can think of the indicator as the engine and the bands as the dashboard.

Does the standard deviation indicator repaint? A correctly built version does not. It is calculated from completed candles, so once a candle closes its price is fixed and the deviation behind it does not rewrite itself later. The still-forming candle will move the live value, which is normal. If historical readings shift after the fact, the tool is reaching into settled data and any strategy built on it will look flawless in a back-test and fail live.


Standard deviation won’t tell you what to trade. It tells you whether the market is loaded or spent, so you bring the right plan and the right size to the conditions actually in front of you.

See how RelicusRoad Pro reads volatility into its levels and risk tools →

Share: