Standard Deviation
Last updated
Last updated
Standard Deviation (SD) is a statistical indicator used in trading to measure the amount of price variation or volatility from the average (mean) price. It tells traders how much an asset’s price deviates from its average over a set period. High standard deviation indicates high volatility, while low standard deviation suggests stability.
In technical analysis, this indicator helps traders assess whether current price levels are unusually high or low and is often used alongside other tools like Bollinger Bands.
Standard Deviation calculates the average distance of price values from the mean (usually a moving average). The more prices stray from the mean, the higher the deviation. Here's the general process:
Calculate the moving average (typically Simple Moving Average or SMA) for a selected period.
For each closing price in the period, determine the difference from the moving average.
Square these differences and find their average.
Take the square root of this average to get the Standard Deviation.
Formula:
Where:
σ = Standard Deviation
P_i = individual price point
MA = moving average
N = number of periods
The Standard Deviation is plotted as a single line below the price chart. Here’s how to interpret it:
High SD value: Prices are volatile, deviating significantly from the average.
Low SD value: Prices are stable and hover close to the average.
Rising SD: Increasing market volatility—possible breakout or breakdown incoming.
Falling SD: Decreasing market volatility—price may consolidate or range.
It does not indicate trend direction by itself but shows the intensity of price movement.
While the standard setting is 20 periods, you can adjust the period based on your trading strategy:
Short-term trading: 10–14 periods
Medium-term: 20–30 periods
Long-term: 50–100+ periods
Shorter periods react faster but may produce more noise. Longer periods smooth the output but react slower.
This defines the number of candles used to calculate the standard deviation. For example, a period of 10 means the indicator will measure volatility over the last 10 candles.
This sets the multiplier for the standard deviation — in other words, how far from the average the upper and lower boundaries should be drawn.
In simple terms:
Standard deviation measures how much price fluctuates around the average.
The “Deviations” setting determines how many standard deviations away from the average the indicator plots.
Examples:
Deviations = 1
➝ plots lines at ±1 standard deviation.
Deviations = 2
➝ plots lines at ±2 standard deviations (covers ~95% of price movement in a normal distribution).
Deviations = 3
➝ plots wider bands, capturing ~99% of the price action.
Standard Deviation is a versatile tool and can be integrated in multiple ways:
It is a core component of Bollinger Bands, where SD defines the width of the upper and lower bands around the moving average. Bands widen during high volatility and contract during low volatility.
A sudden spike in Standard Deviation after a period of low volatility can signal a breakout opportunity. Traders may position for breakouts when SD starts rising sharply.
When Standard Deviation is extremely high, and price has moved far from the mean, a trader might expect a return to the average — an ideal setup for mean reversion strategies.
Combine SD with trend indicators (like Moving Averages or ADX) to determine if a trend is strong and tradable. Higher SD with a directional trend confirms momentum.
Standard Deviation is a volatility tool, not a directional one. Always combine it with trend or momentum indicators to build context.
High SD indicates volatility, but it doesn’t guarantee profitability. Volatility without confirmation can lead to false breakouts.
Trying to fine-tune the SD period too much may lead to curve-fitting. Stick with commonly used settings unless backtesting shows strong evidence otherwise.
Standard Deviation is a foundational concept in both statistics and trading. Its ability to quantify volatility gives traders an edge in understanding the market’s behavior.
While it won’t tell you the direction of the next move, it tells you how intense the move is — a crucial piece of the puzzle for strategy development. Whether you’re a trend follower, range trader, or mean-reversion enthusiast, understanding volatility through SD will improve your market timing and risk control.