double LinearRegLine(DataSeries series, int bar1, int bar2, double predict);
Allows you to perform ad-hoc linear regression analysis on the specified DataSeries. Specify the Start and End bars (bar1 and bar2) for which to calculate the regression line. Then, specify the bar, predict, for which you want to predict a value. This could be a bar that extends into the future.