Regression Channel + R² Trend Quality
Fits a least-squares line to the last N closes and draws it with bands at a multiple of the residual standard deviation. It also reports R² (how straight the trend is, 0-1) and the slope in % per bar. The rolling end-point of the fit and its bands are plotted as series, so they never repaint; the full channel is drawn on the last bar.
Member rating—no ratings yet
Used by0members
Best forward test—none running yet
Shared settings0by members, by market
How to use it
Strong trend = R² above 0.6 with a clear slope: buy dips to the lower band in up-channels (sell rips in down-channels). R² below 0.3 means no trend: the bands then act as range edges. Length 100 with 2 sigma is a balanced default on 1h-4h; use 50 for swing detail. Concept: Ordinary least squares regression (Gauss / Legendre); the "standard error channel" popularised by Gilbert Raff.
Try Regression Channel + R² Trend Quality
Open in the terminalGet accessAdd it to your chart, back-test it on any pair, compare it with other strategies, forward-test it on paper, or run it as a bot.
Back-tests and forward tests are simulations; past results do not predict future ones. Nothing here is financial advice. Trading carries a high risk of loss.