TimeSeriesForecast

Description

The Time Series Forecast study is a technical indicator displaying the statistical trend based on linear regression analysis using the least squares method. Time Series Forecast partially eliminates time lagging effect occurring in Moving Average studies as linear regression value is as close as possible to the values being averaged.

This indicator can be used for predicting future price movements (see the bar plus input description). Note that this type of prediction is purely mathematical as all calculations are based on least squares averaging of previous values.

Input Parameters

Parameter Description
price The price used in calculations.
length The number of bars for which the statistical data is collected.
bar plus The number of bars for which the price is predicted. Specify positive number to obtain the forecast data, negative number to backtest indicator accuracy.

Plots

Plot Description
TSF The Time Series Forecast plot.

Example*

*For illustrative purposes only. Not a recommendation of a specific security or investment strategy.