Indicator reference › LinReg

Linear Regression

Statistics

What it measures

Linear Regression fits a straight line to price data over a lookback period using least-squares methodology, showing the 'equilibrium' price based on recent data. The LinReg line moves faster than a moving average and is less prone to lag. It identifies overbought/oversold conditions relative to the statistical mean and can predict where price 'should' be.

How readings are interpreted

Price above the LinReg line = trading above statistical fair value. Price below = below fair value. The slope of the line indicates trend direction and strength. Mean reversion to the LinReg line is a common setup — price stretched far from the line tends to return. LinReg channels (line ± standard error) define a normal trading range.

Conventional levels

Where it works, and where it does not

Most effective in smoothly trending or ranging markets. In erratic/gap-heavy markets, the statistical fit is poor and LinReg less meaningful. Works well for academic traders who prefer a statistical approach to overbought/oversold conditions.

Commonly read alongside

Known limitations

In practice

Plot it yourself. Add this indicator to a chart, change every parameter and watch the line move, then backtest how the rule would have behaved on historical data — free on the S&P 500 ETF, no card.

Create a free account or start with the lessons →
This is reference material, not advice. It describes what each indicator measures and how its readings are conventionally interpreted. Nothing here is a recommendation to buy or sell anything, and no indicator predicts future prices. GU Analyser is an analytical tool — no money is ever traded here.