Skip to content
All library documents

Anchored Linear Regression Channels with Deviation Bands

Article ProRealCode

Summary

This indicator builds a linear regression channel whose starting point is set by a chosen date and time. As new bars arrive, the lookback grows from that anchor, so the fitted trend line and its upper and lower bands update over an expanding period. The user can select bands based on either standard deviation or standard error and set a multiplier for their width. The calculation uses closing prices and draws the regression line and parallel bands on the chart.

The document suggests using the channel to watch for possible breakouts from a trend or rebounds near its boundaries. It also notes that a fixed-lookback version exists, but does not compare the two approaches or report trading results. The channel’s behavior depends on the selected anchor, band type, multiplier, and price history; the text does not provide rules for confirming breakouts, handling false signals, or managing risk. It presents a charting tool rather than a tested standalone strategy.

Key ideas

  • The channel’s start date and time define an anchor from which its lookback expands as bars accumulate.
  • A linear regression of closing prices forms the center line of the channel.
  • The upper and lower bands use either standard deviation or standard error with a configurable multiplier.
  • The channel is proposed for observing possible trend breakouts or rebounds at its boundaries.
  • The document provides no comparison, backtest, or complete rules for trading channel signals.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.