Good morning, I ask politely if possible to obtain the Times Series Forecast indicator formulas.This is the definition: The Time Series Forecast (TSF) is a linear regression calculation that plots each bar’s current regression value using the least square fit method. This indicator is sometimes referred to as a moving linear regression similar to a moving average. For example, the TSF value that covers 10 days will have the same value as a 10-day Time Series Forecast. This differs slightly from the Linear Regression indicator in that the Linear Regression indicator does not add the slope to the ending value of the regression line.
Formula
The Time Series Forecast is nothing more than the linear regression expected for the next period. It is calculated by adding the linear regression slope of the same period to the current linear regression value:
TSF=LinearRegression[10](close)+LinearRegressionSlope[10](close)
return tsf as "time series forecast"
Please tell me if it suits your query. Thank you.
Nicolas, the indicator is perfect! Thank you for your response.