Time Series Forecast
The Time Series Forecast (TSF) is a technical indicator that applies linear regression analysis to recent price data in order to project where the price is expected to be at the end of the current period, based on the statistical trend of the lookback window. It is calculated by performing a least-squares linear regression over a specified number of periods and then reading the endpoint of that regression line as the forecast value. Unlike a moving average, which reports the average of past prices, the TSF reports the endpoint of a line that best fits the recent trend — giving it a slight forward-looking quality that helps it better track current price momentum with reduced lag.
The TSF generates signals through its relationship with the actual price. When price is above the TSF, the market is outperforming its recent linear trend, suggesting bullish momentum. When price falls below the TSF, bearish momentum is dominant. Crossovers between price and the TSF line can serve as entry and exit signals. The TSF is also used as a dynamic support and resistance level: in a strong uptrend, the TSF often acts as a floor that price bounces from during minor corrections, and a sustained break below it may signal a trend change.
For crypto algorithmic traders, the TSF is particularly valuable because its regression-based construction makes it inherently adaptive to the slope and speed of the current trend. In fast-moving crypto bull markets, the TSF rises steeply and closely tracks price, providing tight trailing guidance. During sideways periods, it flattens and acts as a central tendency measure. Bots can use the angle or slope of the TSF as a trend-strength proxy — steeper slope means stronger trend — or use TSF crossovers as confirmation signals alongside other momentum indicators, creating a multi-layer framework for high-probability entries.