Skip to main content
Track Price channel
3 / 55
Library

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.
Entries in this reading3 entries

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.

Educational research material, not investment advice. Historical source context does not establish present-day performance.
3 of 55 in the Price channel track
19881-10 pp.Next on Price channelThree-zone price channel from quadratic smoothingThe channel is a timing envelope for entering and exiting a security, not a device that projects how far price will travel.
All readings on this track · 55 readings
  1. 1988Constructing price channels from trendlines
  2. 1988Three-point curved trend channel construction
  3. 1988Least-squares construction of channel trendlines
  4. 1988Three-zone price channel from quadratic smoothing
  5. 1989A variable-sensitivity stochastic built on three-sigma bounds
  6. 1989Close-minus-average oscillator for channel extremes
  7. 1989The six-stage hunt as a critique of one-click heroics
  8. 1990Fair-value gaps and a copper moving-average channel
  9. 1990Diversify markets, not systems, to cut trend-system variance
  10. 1991Constructing trendlines, price channels, and close-based breakouts
  11. 1991Constructing seasonal-cycle overlays with channel confirmation
  12. 1993Lag-compensated exponential trend channel construction
  13. 1993Constructing a lead-lag filter and price channel as one stack
  14. 1993Three stochastic warnings still need price-channel confirmation
  15. 1993Lead-lag smoothing for weekly trend-channel construction
  16. 1993Constructing zero-net-lag price channels
  17. 1995From a downtrend-line break to a regression channel
  18. 1995Validated trendline and price channel construction
  19. 1995Constructing price envelopes from averages, volatility, and regression
  20. 1996Constructing trendlines and channels from explicit swings
  21. 1998Fifty percent retracement as a channel regime test
  22. 1998Close-based channel rails as daily scenario maps
  23. 1999Constructing support, resistance, trendlines, and price channels
  24. 2001Cycle composites, price channels, and two-sided signals
  25. 2001Testing horizontal price channels with stops and scale
  26. 2002A two-stage momentum-shift and price-channel process
  27. 2002Wave-by-wave channel construction for Elliott counts
  28. 2002Affine channels as reusable trade hypotheses
  29. 2004Stress-test seasonal windows across regimes, then add channels
  30. 2004Regime permission from trendlines, channels, and range edges
  31. 2004Weekly-average and price-channel states on sector depositary baskets
  32. 2005Oil services catch-up after channel resistance breaks
  33. 2005Constructing a volatility-normalized cycle index
  34. 2005How a Darvas channel becomes a complete entry and exit procedure
  35. 2005Clustered Fibonacci and channel levels in news-driven forex
  36. 2005Treat a consolidating currency market as a time-frame problem
  37. 2005Channel walls that flip roles or recapture price
  38. 2006Stacking candlesticks, crossovers, and price channels
  39. 2006Failed uptrend channel breakout left the euro rangebound
  40. 2006Constructing a Wilson relative price channel from a range-bound strength index
  41. 2007Range bars change when a Bollinger squeeze counts as a breakout
  42. 2009One testable SPY procedure for a price channel, a trend rule, and a seasonal overlay
  43. 2010A gold-miner channel plan from value to false breakouts
  44. 2010A multi-timeframe channel from value to an overvalued zone
  45. 2010Asymmetric price channel construction for congested markets
  46. 2011Phasing many cycles at once with nested envelopes
  47. 2012Constructing adaptive horizontal price channels
  48. 2014Confirming support with trendlines, channels, and retracements
  49. 2015News-sentiment confirmation for support, channel, and volume tests
  50. 2015A three-layer permission stack: moving averages, a price channel, and weekly levels
  51. 2016Entropy-diff as a regime switch between trend following and a price channel
  52. 2017Competing rulers on a pound chart after Brexit
  53. 2017Test consolidation channel breakouts as one procedure
  54. 2020Constructing late-trend longs with a price channel, gap breakout, and trailing stop
  55. 2025Using IBM's multi-year price channel as a breakout teaching case
All 77 readings tagged Price channel
Also on Price channel5 readings