1988issue C071-4
Least-squares construction of channel trendlines
A trendline may pass through highs, lows, or the interior of a price series. A least-squares fit replaces a freehand channel midline with intercept and slope computed from the same plotted points.
- A trendline may be placed through successive highs, successive lows, or through the interior of the price series rather than only at the extremes.
- A straight line through the middle of a price channel on a logarithmic scale reports the series' percentage rate of advance or decline.
- A least-squares fit removes freehand disagreement by minimizing the sum of squared deviations and is specified by intercept A and slope B in the form Y equals A plus B times X.
- Four worksheet columns plus the observation count lock those constants. The same construction of a stock price against a market index yields alpha and beta.
Where the trendline can sit
A trendline is a straight reference placed through highs, lows, or the interior of a plotted price series to describe direction. It may be placed through successive highs, successive lows, or through the interior of the price series rather than only at the extremes.
A price channel is the band of prices around a central path, whose midline can be read as the channel's growth axis.
Scale and the growth axis
A straight line through the middle of a price channel on a logarithmic scale reports the series' percentage rate of advance or decline.
Least-squares instead of freehand
A freehand center line is open to disagreement. A least-squares fit removes that ambiguity by minimizing the sum of squared deviations of the plotted points from the line. It is the unique straight line that minimizes the sum of squared vertical distances from the observed points.
The constructed regression line is specified by two constants in the form Y equals A plus B times X, where A is the intercept, the fitted vertical value when the independent-axis reading is zero, and B is the slope, the constant change in the fitted vertical value for each one-unit move along the independent axis.
Worksheet columns and a worked line
Intercept and slope can be computed from four worksheet columns together with the observation count: elapsed periods, the observed series which may be logged, the squared period index, and the product of period and series.
In the worked numerical example the fitted constants are a slope of 0.50 and an intercept of 1.10, so the line advances one-half vertical unit for each unit of the independent axis.
Stock price against a market index
The same least-squares construction, with a stock price on the vertical axis and a market index on the horizontal axis, yields intercept and slope constants used as alpha and beta.
All readings on this track · 55 readings
- 1988Constructing price channels from trendlines
- 1988Three-point curved trend channel construction
- 1988Least-squares construction of channel trendlines
- 1988Three-zone price channel from quadratic smoothing
- 1989A variable-sensitivity stochastic built on three-sigma bounds
- 1989Close-minus-average oscillator for channel extremes
- 1989The six-stage hunt as a critique of one-click heroics
- 1990Fair-value gaps and a copper moving-average channel
- 1990Diversify markets, not systems, to cut trend-system variance
- 1991Constructing trendlines, price channels, and close-based breakouts
- 1991Constructing seasonal-cycle overlays with channel confirmation
- 1993Lag-compensated exponential trend channel construction
- 1993Constructing a lead-lag filter and price channel as one stack
- 1993Three stochastic warnings still need price-channel confirmation
- 1993Lead-lag smoothing for weekly trend-channel construction
- 1993Constructing zero-net-lag price channels
- 1995From a downtrend-line break to a regression channel
- 1995Validated trendline and price channel construction
- 1995Constructing price envelopes from averages, volatility, and regression
- 1996Constructing trendlines and channels from explicit swings
- 1998Fifty percent retracement as a channel regime test
- 1998Close-based channel rails as daily scenario maps
- 1999Constructing support, resistance, trendlines, and price channels
- 2001Cycle composites, price channels, and two-sided signals
- 2001Testing horizontal price channels with stops and scale
- 2002A two-stage momentum-shift and price-channel process
- 2002Wave-by-wave channel construction for Elliott counts
- 2002Affine channels as reusable trade hypotheses
- 2004Stress-test seasonal windows across regimes, then add channels
- 2004Regime permission from trendlines, channels, and range edges
- 2004Weekly-average and price-channel states on sector depositary baskets
- 2005Oil services catch-up after channel resistance breaks
- 2005Constructing a volatility-normalized cycle index
- 2005How a Darvas channel becomes a complete entry and exit procedure
- 2005Clustered Fibonacci and channel levels in news-driven forex
- 2005Treat a consolidating currency market as a time-frame problem
- 2005Channel walls that flip roles or recapture price
- 2006Stacking candlesticks, crossovers, and price channels
- 2006Failed uptrend channel breakout left the euro rangebound
- 2006Constructing a Wilson relative price channel from a range-bound strength index
- 2007Range bars change when a Bollinger squeeze counts as a breakout
- 2009One testable SPY procedure for a price channel, a trend rule, and a seasonal overlay
- 2010A gold-miner channel plan from value to false breakouts
- 2010A multi-timeframe channel from value to an overvalued zone
- 2010Asymmetric price channel construction for congested markets
- 2011Phasing many cycles at once with nested envelopes
- 2012Constructing adaptive horizontal price channels
- 2014Confirming support with trendlines, channels, and retracements
- 2015News-sentiment confirmation for support, channel, and volume tests
- 2015A three-layer permission stack: moving averages, a price channel, and weekly levels
- 2016Entropy-diff as a regime switch between trend following and a price channel
- 2017Competing rulers on a pound chart after Brexit
- 2017Test consolidation channel breakouts as one procedure
- 2020Constructing late-trend longs with a price channel, gap breakout, and trailing stop
- 2025Using IBM's multi-year price channel as a breakout teaching case