Home / Wiki / L / Linear Regression Slope

Linear Regression Slope

Trading and SpeculationUpdated 16 Nov 2026

The linear regression slope is a technical indicator that reports the steepness of a straight line fitted by least squares to the closing prices of the most recent nn bars. It is the coefficient bb in the line y=a+bxy = a + b x, expressed as the average change in price per bar. A slope of 0.6 means that the fitted trend rose 0.6 price units a bar over the window. The value is recalculated on each bar and plotted in a panel below the chart, where it moves above and below zero as an oscillator.

A positive slope indicates an upward trend and a negative slope a downward one, and the size shows how fast prices are moving, much as a momentum measure does. Because the slope depends on the price level, it is sometimes normalized for comparison between securities. It is commonly paired with linear regression R-squared, which shows how well the line fits.

Last updated 16 Nov 2026