Standard Deviation Channel

Standard Deviation Channel
Indicator

VolatilityOn the price chartFree on ChartLabs

The Standard Deviation Channel is a rolling straight-line fit to the close, with bands a set number of residual standard deviations away.

Described by Steven Achelis, 2000. Reviewed by the ChartLabs team, updated Nov 2026.

Example market1hIndicatorsAtlas AIStandard Deviation Channelchartlabs.co/charts
Example market, 1h1268,96965,83362,69859,56264,803.7
Atlas reads it

StdDevChannel 64587.76

On price

Atlas reads it

StdDevChannel 64587.76

On price

Illustration on simulated data.

Standard Deviation ChannelWhat is the Standard Deviation Channel indicator?

The Standard Deviation Channel fits a straight line to the last 20 closes and plots the end of that line on every bar. The bands sit 2 residual standard deviations away. The deviation is the population form, the square root of the squared errors divided by 20.

Until the window is full, all three lines equal the close. From the 20th bar on, the middle line is the fitted endpoint and the bands fan out around it. There is no fill.

The middle line is #FF9800, two pixels. The bands are rgba(255, 152, 0, 0.5), one pixel. Steven Achelis describes the channel in Technical Analysis from A to Z, 2nd ed. (2000). The regression line is the one Chande and Kroll use in The New Technical Trader (Wiley, 1994).

Before 20 bars

All three lines sit on the close until the window fills. They are not a channel yet.

Population, not sample

The width divides the squared errors by the length, 20, not by 19. The Linear Regression Channel uses the sample form.

Standard Deviation Channel signalsFive patterns to know.

1Bullish lean

Middle line rising

The fitted endpoint is climbing. The last 20 closes lean up.

2Bearish lean

Middle line falling

The fitted endpoint is falling.

3Inconclusive

Bands far from the line

The closes are scattered around the fit, so 2 deviations is a wide band.

4Inconclusive

Bands tight to the line

The closes are hugging the straight line.

5Inconclusive

All three on the close

The window is not full yet, so there is no fit and no band.

Standard Deviation Channel formulaHow it is calculated.

band=endpoint±k×SSEn
STEP 1

Wait for the window

For the first 19 bars, plot the close on all three lines.

STEP 2

Fit the endpoint

From the 20th bar, fit a straight line to the last 20 closes and plot its value on the newest bar.

STEP 3

Add the bands

Add and subtract 2 population residual deviations. There is no fill between the lines.

Standard Deviation Channel settingsEvery setting, explained.

SettingDefaultRangeWhat it changes
Length202 to 5,000Closes in the fit. The Signal lens changes this.
Deviations20 to 50How many residual standard deviations the bands sit from the line.
SourceCloseCloseThe price the line is fitted to. The default is the close.
LinesMid #FF9800, bands rgba(255, 152, 0, 0.5)FixedMiddle line two pixels, bands one pixel. No fill.
Setting
Length
Default
20
Range
2 to 5,000
What it changes
Closes in the fit. The Signal lens changes this.
Setting
Deviations
Default
2
Range
0 to 50
What it changes
How many residual standard deviations the bands sit from the line.
Setting
Source
Default
Close
Range
Close
What it changes
The price the line is fitted to. The default is the close.
Setting
Lines
Default
Mid #FF9800, bands rgba(255, 152, 0, 0.5)
Range
Fixed
What it changes
Middle line two pixels, bands one pixel. No fill.
2035 closes in the fit
70,90767,24763,58659,92664,803.7

Drag to see how the setting changes the lines and how many signals you get. Illustration on simulated data.

Standard Deviation Channel strategiesUse it in 3 setups.

Hold while the line rises

Whilethe middle line risesand price holds itfavour longs

The fit of the last 20 closes is climbing and price is on it. A close through the line is the usual place traders look again.

A close outside a wide band

Ifprice closes outside a bandthe fit has been left

The close is more than 2 residual deviations from the line. Wide bands mean the closes were already scattered, so the same distance is a larger price move.

Ignore the first 19 bars

Whileall three lines sit on the closethere is no channel

The window has not filled. Those bars are the source, not a band.

Test a rule in the Strategy TesterFree with 1 year of history. Past results do not guarantee future results.

Standard Deviation Channel mistakesCommon mistakes.

Reading the early bars as a squeeze

Before the 20th bar the three lines equal the close because the fit has not started. They are not pinched bands.

Mixing it up with the Linear Regression Channel

This one plots a rolling endpoint every bar, with a population deviation and a length of 20. The other draws the last 100-bar window as objects, with a sample deviation.

Expecting a fill

There is no shading between the bands. The three lines are the whole drawing.

Standard Deviation Channel combinationsPair it with these.

Standard Deviation Channel FAQQuestions traders ask.

What are the Standard Deviation Channel settings?

Length 20, deviations 2 and source close. There is no fill.

What do the lines show before 20 bars?

All three equal the close. The fit starts on the 20th bar.

Which standard deviation is it?

The population residual, the square root of the squared misses divided by the length. At 20 closes that divisor is 20, not 19.

How is this different from the Linear Regression Channel?

This channel rolls forward and plots every bar. The Linear Regression Channel draws the newest 100-bar window, uses a sample deviation, and can extend the lines.

What are the colours?

The middle line is #FF9800 at two pixels. The bands are rgba(255, 152, 0, 0.5) at one pixel.

Does a hole in the data get skipped?

A non-finite close leaves that bar empty and the fit waits until the window is clean again.

Who described it?

Steven Achelis, Technical Analysis from A to Z, 2nd ed. (2000). The line fit is Chande and Kroll's, The New Technical Trader (Wiley, 1994).

Does it repaint?

Each closed bar keeps the endpoint that was fit while it was the newest bar. The live bar moves until it closes.

Related indicatorsMore volatility tools.

All volatility indicators

Try Standard Deviation Channel on a live chart.
Free. No download.

Works in your browser and on iPhone too.

Example market1h
Standard Deviation Channel