Created page with "=== Definition === The Time Series Forecast (TSF) indicator is based on the linear regression calculations. The indicator uses a least squares method to fit a straight line..."
=== Definition ===
The Time Series Forecast (TSF) indicator is based on the linear regression calculations. The indicator uses a least squares method to fit a straight line to data points.
<div style="background-color: #E3FBE5;">A least squares method is a form of mathematical regression analysis used to determine the line of best fit for a set of data, providing a visual demonstration of the relationship between the data points.</div>
Linear regression tool is used to predict future market values relative to past values.
=== Default Inputs===
'''Length''' sets the number of bars used to calculate the linear regression, 9 by default.
'''BarsPlus''' sets the offset into the linear regression calculation that determines which previous regression value to plot, 7 by default.