Channels

Linear regression and standard deviation channels

A best-fit line through the closes of a chosen period, with parallel lines showing how far prices strayed from it.

2 min de lecture · Essayer sur un graphique en direct ↗

L’idée en termes simples

Instead of picking points by eye, let maths draw the line that best fits the prices. The outer lines show the normal spread (standard deviation channel) or the widest deviation (regression channel).

Mode de calcul

Click the start and the end of the period. The centre line is the least-squares line through the closes. Standard deviation channel: ± 2 standard deviations; regression channel: ± the largest distance.

Centre = a + b × t (least-squares fit of the closes)
Std-dev channel: centre ± 2 × standard deviation of the distances
Regression channel: centre ± maximum distance

Comment l’utiliser

  • Prices near the outer lines are stretched relative to the trend; near the centre, fairly valued.
  • The slope of the centre line is the average trend over the period.

Tirer des conclusions

  • A close outside a standard deviation channel is statistically unusual.

Exemple

A 60-day regression on a stock index slopes up 0.2% a day; the price touches the lower line and rebounds to the centre.

Les prix des exemples sont donnés à titre d’illustration.

Points de vigilance

  • The channel changes when you change the period: choose it deliberately.

Un peu d’histoire

Least squares was published by Legendre (1805) and Gauss; Francis Galton coined "regression" in the 1880s.

Contenu éducatif uniquement. Aucun indicateur ni aucune figure ne prédit l’avenir, et rien ici ne constitue un conseil en investissement.