Forecast

< All Topics

Forecast(Vector, Periods)

Overview
Returns the linear regression forecast for the next period based on the linear regression calculation over the specified number of periods.

Example
set BUY = Forecast(CLOSE, 30) > REF(CLOSE,1)
Evaluates to buy when the forecast is higher than the previous closing price.

Next Intercept
Table of Contents