Linear Regression Intercept
Indicator
Linear Regression Intercept is the starting value of a straight line fitted to the 14 closes before the current bar. It trails price more than an SMA.
Built on the moving regression in The New Technical Trader by Tushar Chande and Stanley Kroll, 1994. Reviewed by the ChartLabs team, updated Nov 2026.
Price is above a rising Intercept 14. The 14-bar fit points up.
Intercept 14 59,392.2 · Close 62,761.4
Price is above a rising Intercept 14. The 14-bar fit points up.
Intercept 14 59,392.2 · Close 62,761.4
Illustration on simulated data.
Linear Regression InterceptWhat is the Linear Regression Intercept indicator?
The intercept draws one grey line on the price chart. Each bar it fits a least-squares line through the 14 closes before that bar and plots where that line begins: half a bar before the oldest of those closes.
So the value on the current bar describes the fitted line about 14 bars back. In a steady advance it sits well under price, and under the plain average of the same closes; in a decline it sits above. The gap grows with the slope.
On its own it is a slow trend line. It is most useful next to Linear Regression Forecast, the other end of the same line: the forecast is above the intercept exactly when the fitted slope is positive.
Two ends of one line
Forecast minus Intercept is always 14 times the slope, and their average is the mean of the 14 closes.
Warm-up
The first value is on the 16th bar. Earlier bars are left empty.
Linear Regression Intercept signalsFour patterns to know.
Price above a rising intercept
Closes stay well above a slow line that climbs.
Price under a falling intercept
Closes stay under a slow line that falls.
Close back above
Price climbs past where the fitted line began, which takes a real recovery.
Close back under
After a long run above, price falls through the slow line and stays under it.
Linear Regression Intercept formulaHow it is calculated.
Take the earlier closes
Use the 14 closes before the current bar.
Fit a line
Find the least-squares line through them: its mean and its slope per bar.
Read its start
Read the line half a bar before the oldest of those closes: the mean minus 7 times the slope. That value is plotted on the current bar.
Linear Regression Intercept settingsEvery setting, explained.
| Setting | Default | Range | What it changes |
|---|---|---|---|
| Length | 14 | 2 to 5,000 | Closes in the fit. Longer makes the line slower still. |
| Source | Close | Any price | Which values feed the fit. |
| Line | Grey #999999, 1 px | Any colour and width | Colour and width of the line. |
- Setting
- Length
- Default
- 14
- Range
- 2 to 5,000
- What it changes
- Closes in the fit. Longer makes the line slower still.
- Setting
- Source
- Default
- Close
- Range
- Any price
- What it changes
- Which values feed the fit.
- Setting
- Line
- Default
- Grey #999999, 1 px
- Range
- Any colour and width
- What it changes
- Colour and width of the line.
Drag to see how the setting changes the lines and how many signals you get. Illustration on simulated data.
Linear Regression Intercept strategiesUse it in 3 setups.
Slow trend filter
The intercept moves slowly, so traders often use it to pick the side of the market and something faster to time entries.
Forecast crosses the intercept
The two ends of one fit cross exactly when its slope changes sign. The Forecast is drawn here as a dashed grey line, for illustration.
Close back above after a decline
Getting back above the slow end of the fit takes a real recovery, so traders often treat it as confirmation rather than an early entry.
Linear Regression Intercept mistakesCommon mistakes.
Waiting for a close under it to exit
The intercept trails far behind. Here the close under it came several bars after the high.
Reading the gap as stretched
In a steady trend price sits far from the intercept by design, about 14 times the slope away. Here the gap was wide and the advance carried on.
Expecting it to turn with price
It describes the fitted line about 14 bars back. Here price made its low about ten bars before closing back above it.
Linear Regression Intercept combinationsPair it with these.
Linear Regression Intercept + Linear Regression Forecast
The other end of the same line. The two cross when the slope changes sign.
Linear Regression Intercept + Linear Regression Slope
The slope of the same 14-close fit, in its own panel.
Linear Regression Intercept + SMA
A plain average sits at the middle of a fitted line; the intercept sits at its start.
Linear Regression Intercept + ADX
ADX shows whether the trend the slow line follows has strength.
Linear Regression Intercept FAQQuestions traders ask.
What are the default Linear Regression Intercept settings?
Length 14 on the close.
How is the intercept calculated?
It fits a least-squares line to the 14 closes before the current bar and reads it half a bar before the oldest of them: the mean minus 7 times the slope.
Why does it lag so much?
It plots the start of the fitted line, about 14 bars back, on the current bar.
Intercept or SMA?
The mean of the closes is the middle of the fitted line. The intercept is its start, so in a trend it sits further from price than the average.
How does it relate to the Forecast?
They are the two ends of one line. The forecast minus the intercept is 14 times the slope.
Is it the textbook intercept?
Close to it. The textbook value is the line at its first point. ChartLabs reads it half a bar earlier.
Why does it start on the 16th bar?
It needs 14 earlier closes before the fit is complete. Earlier bars are left empty.
Does the intercept work on crypto?
Yes. It works on any market with closes.
Does it repaint?
No. Closed bars never change, and the live bar's value is set when the bar opens.
Is it leading or lagging?
Lagging, more than most lines of the same length.
Related indicatorsMore trend tools.
All trend indicatorsTry Linear Regression Intercept on a live chart.
Free. No download.
Works in your browser and on iPhone too.