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

<table class="wysiwyg-macro" data-macro-name="unmigrated-wiki-markup" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e3VubWlncmF0ZWQtd2lraS1tYXJrdXB9&amp;locale=en_GB&amp;version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre>
 public double ForecastPeriods{ get; set; }
</pre></td></tr></table>
<p>Public Property ForecastPeriods() As Double</p>

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