Concept
Standard-error Channel
Standard-error Channel, also known as Raff channel, is a Trend concept. The Library holds 1 implementations, each one a working definition you can pull into Quant.
Top Standard-error Channel indicators
1 total
What is a Standard-error Channel?
A standard-error channel is a linear regression line drawn through a lookback window with parallel bands offset above and below by a multiple of the standard error of estimate, the statistic measuring how far prices typically sit from the fitted line. Unlike bands based on the standard deviation of price itself, the standard error measures dispersion around the trend, so the channel stays narrow when price hugs its regression line and widens when the fit is loose, whatever the slope.
The Raff regression channel, developed by Gilbert Raff, is the closely related variant some platforms group under the same name: instead of a statistical offset, it widens the parallels just enough to enclose the furthest high or low from the regression line. Both versions refit as new bars arrive, so the drawn channel changes across the window, and the common two-standard-error convention contains most, not all, of the price action inside it.
How traders use it
- As a trend-following frame: while price holds inside the channel the regression trend is treated as intact, and closes beyond a band flag either an overextension or the start of a trend change worth confirming before acting.
- As a fit-quality gauge: narrow bands mean the move is orderly and regression-based levels are meaningful, while wide bands warn that the linear fit explains little of the recent movement.
- As anchored geometry from a swing: starting the window at a significant low or high makes the channel express that leg's trend, with the outer bands then watched as sloped support and resistance.
Related concepts · Channels, lines & geometry
Concept family
Trend
100 concepts mapped · 88 in the Library
Standard-error Channel FAQ
What is the difference between a standard-error channel and a linear-regression channel?
Both center on the same least-squares line; the offset statistic differs. A linear-regression channel typically offsets by the standard deviation of prices measured around the fitted line, or by the largest excursion from it, while a standard-error channel uses the standard error of estimate, a close cousin that also adjusts for the two fitted regression parameters. The bands often look similar, and platforms mix the labels freely, so check which statistic yours actually uses.
Does a standard-error channel repaint?
Yes, by construction. The regression and its error bands are refit over the window on every new bar, so the entire drawn channel shifts with new data. That is useful for describing the current trend but misleading for backtesting touches of historical bands, because only each bar's own real-time values were actually available at the time.
Build Standard-error Channel your way.
Quant writes, tests, and refines it with you — then it runs on LuxAlgo charting or ports to TradingView.
