TREND, MOVING AVERAGES & STRUCTURE
Time-series forecast
Where the recent trend line says the next candle should land — a one-step-ahead projection, not a prediction of the market.
spec id: tsflength (default 14)
What does Time-series forecast measure?
Where the recent trend line says the next candle should land — a one-step-ahead projection, not a prediction of the market.
How is Time-series forecast calculated?
Fit a straight line through the last 14 closing prices and extend it one candle past the end of the window.
Written by reading the engine’s real computation, not a textbook — where the two differ, the page describes what actually runs.
How do I use Time-series forecast in a bot?
In the builder, add an indicator of type tsf (parameters: length, default 14). Its value becomes an operand you can compare in any entry or exit rule. The engine grades the whole rule honestly: real fills, no look-ahead, half the history held back.
Related indicators
- Typical priceOne representative price for the candle.
- Vertical horiz filterA trend-versus-range filter.
- VIDYAAn exponential average with an automatic gearbox: it speeds up when momentum is strong and coasts when the market is quiet.
- VortexTwo lines that cross when a trend changes hands.
Or browse all 158 indicators in the full library.