Linear Regression R2

Linear Regression R2

The Linear Regression R2 (LR-R2) uses the ordinary least squares method to derive a linear function which plots a straight line through prices so as to minimize the distances between the prices and the resulting trendline. The LR-R2 is a moving linear regression which plots the R-Squared for the derived trend line at each period. The LR-R2 is an oscillator that effectively measures the quality of fit of the derived trend line. Higher R2 values indicate better quality of fit of the trend line and the LR-Forecast thereby making it an ideal companion study to LR-Forecast.