Skip to content
All library documents

Regression Channels and Distribution Moments for Pivot Detection

Article TradingView scripts

Summary

This indicator fits a linear regression channel to recent prices and estimates variance, skewness, and kurtosis from returns. It uses channel deviations to show trend direction, flag breaks, and draw a short forward range. Momentum markers and price re-entry into the channel are presented as possible signs of continuation, weakening momentum, or an approaching pivot. Traditional support and resistance levels and optional multiple-timeframe analysis add context.

The author suggests that unusually large skewness and kurtosis, combined with price outside an expected deviation, may precede mean reversion, and that stronger deviation settings make channel exits and re-entries less common. These are proposed interpretations rather than validated trading results: the document supplies no performance evidence. The author also cautions that lookback length must suit the chart timeframe and that extended-hours volume can distort regression and deviations. The forward range is a simple standard-deviation guide and does not account for likely mean reversion.

Key ideas

  • The regression channel estimates a recent linear trend and the dispersion of prices around it.
  • Skewness and kurtosis of returns are used to characterize distribution shape and inform possible pivot readings.
  • Channel breaks, momentum markers, and re-entry signals are presented as potential trend or reversal clues.
  • The forward range uses standard deviation and does not model mean-reversion probabilities.
  • Lookback settings and trading-volume patterns can materially affect the indicator’s readings.

Tags

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