A
Linear Regression Trendline is a straight line plotted through past prices of a given security via the least squares method. The calculation of this line is described above under Linear Regression.
Extend the resulting line and use it to predict future trends. Remember there still can be significant shifts as prices will continue to fluctuate above and below the line.