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.


Plot Description
TSF The Time Series Forecast plot.


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

You may also like
The Momentum Percent Diff is a momentum-based technical indicator. Unlike the regular Momentum ...
Tick Counter
Tick Counter is a feature available for charts using Tick aggregation. This feature shows ...
The Slow Relative Strength Index is a version of the classic Relative Strength Index (RSI), ...