For all trendline types except moving average, sets or returns the number of periods the regression should extrapolate forward.

public double ForecastPeriods{ get; set; }
Public Property ForecastPeriods() As Double

Settings this value causes the trendline to extend beyond the end of the data.