Standard Deviation Channel
Indicator
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.
StdDevChannel 64587.76
On price
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.
Middle line rising
The fitted endpoint is climbing. The last 20 closes lean up.
Middle line falling
The fitted endpoint is falling.
Bands far from the line
The closes are scattered around the fit, so 2 deviations is a wide band.
Bands tight to the line
The closes are hugging the straight line.
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.
Wait for the window
For the first 19 bars, plot the close on all three lines.
Fit the endpoint
From the 20th bar, fit a straight line to the last 20 closes and plot its value on the newest bar.
Add the bands
Add and subtract 2 population residual deviations. There is no fill between the lines.
Standard Deviation Channel settingsEvery setting, explained.
| Setting | Default | Range | What it changes |
|---|---|---|---|
| Length | 20 | 2 to 5,000 | Closes in the fit. The Signal lens changes this. |
| Deviations | 2 | 0 to 50 | How many residual standard deviations the bands sit from the line. |
| Source | Close | Close | The price the line is fitted to. The default is the close. |
| Lines | Mid #FF9800, bands rgba(255, 152, 0, 0.5) | Fixed | Middle 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.
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
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
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
The window has not filled. Those bars are the source, not a band.
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 + Linear Regression Channel
That channel draws one window of 100 closes. This one rolls a 20-bar fit forward on every bar.
Standard Deviation Channel + Linear Regression
The regression curve is the endpoint alone. This channel puts bands around it.
Standard Deviation Channel + Bollinger Bands
Bollinger Bands measure deviation from an average. These bands measure deviation from a fitted line.
Standard Deviation Channel + StdDev
StdDev is the deviation of price from its average, drawn in its own panel.
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 indicatorsTry Standard Deviation Channel on a live chart.
Free. No download.
Works in your browser and on iPhone too.