TSF
Indicator
Time Series Forecast fits a straight line to the last 14 closes and extends it 3 bars ahead. The value is plotted on the current bar.
Described by Tushar Chande and Stanley Kroll, The New Technical Trader, 1994. Reviewed by the ChartLabs team, updated Nov 2026.
The TSF 14 is falling: the 14-bar trend line points down.
TSF 14 64,087.4 · Close 65,242.2
The TSF 14 is falling: the 14-bar trend line points down.
TSF 14 64,087.4 · Close 65,242.2
Illustration on simulated data.
Time Series Forecast (TSF)What is the TSF indicator?
TSF draws one grey line on the price chart. Each bar it fits a least-squares line through the last 14 closes and reads that line 3 bars into the future.
Because it projects the recent slope forward, TSF sits above price in a steady advance and under price in a steady decline. In a trend, closes on the other side of the line are normal, not a warning.
The line turns as soon as the 14-bar slope changes sign, which makes it one of the quickest trend lines to react. At sharp turns the projection can overshoot, running past the highs or lows before it bends.
It is not a prediction
The forecast only extends the recent straight line. It says where price would be if the last 14 bars' slope carried on, nothing more.
From the first bar
While fewer than 14 closes exist, ChartLabs fits the line through the closes so far, so TSF starts on the first bar.
TSF signalsFour patterns to know.
Rising TSF above the closes
The projected line leads the advance. Price keeps up with the slope.
Falling TSF under the closes
The projected line leads the decline.
TSF turns up
After falling, the 14-bar slope turns positive and the line hooks up.
TSF turns down
After rising, the slope turns negative and the line hooks down.
TSF formulaHow it is calculated.
Fit a line
Find the straight line that best fits the last 14 closes, by least squares.
Read its end
Take the line's value on the current bar.
Project it
Add 3 times the slope to reach 3 bars ahead. That number is plotted on the current bar.
TSF settingsEvery setting, explained.
| Setting | Default | Range | What it changes |
|---|---|---|---|
| Length | 14 | 2 to 5,000 | Closes in the fit. Longer gives a steadier slope. |
| Forecast | 3 | 0 to 500 | Bars ahead the line is read. 0 gives the fitted end of the line. |
| Source | Close | Any price | Which values feed the fit. |
| Line | Grey #999999, 1 px | Any colour and width | Colour and width of the line. |
- Setting
- Length
- Default
- 14
- Range
- 2 to 5,000
- What it changes
- Closes in the fit. Longer gives a steadier slope.
- Setting
- Forecast
- Default
- 3
- Range
- 0 to 500
- What it changes
- Bars ahead the line is read. 0 gives the fitted end of the line.
- Setting
- Source
- Default
- Close
- Range
- Any price
- What it changes
- Which values feed the fit.
- Setting
- Line
- Default
- Grey #999999, 1 px
- Range
- Any colour and width
- What it changes
- Colour and width of the line.
Drag to see how the setting changes the lines and how many signals you get. Illustration on simulated data.
TSF strategiesUse it in 3 setups.
Hook up after a fall
The turn means the 14-bar slope has flipped. Traders often want price to confirm with a higher close.
Hold while it rises
A rising TSF says the recent straight-line trend still points up.
Exit on the hook down
The quick turn suits exits, where reacting early matters more.
TSF mistakesCommon mistakes.
Reading closes under TSF as weakness
In an advance the projection runs ahead of price, so closes sit under it. Here the trend was still up.
Treating the forecast as a target
The line is only the slope extended. Here it rose above the highs near the top and price never got there.
Acting on every close through it
Price crosses TSF often, even inside a trend. Here a cross was undone within two bars.
TSF combinationsPair it with these.
TSF + Least Squares Moving Average
The same fit read on the current bar instead of 3 bars ahead.
TSF + EMA 50
A slower average gives the trend the TSF slope should agree with.
TSF + ADX
ADX shows whether the slope belongs to a trend or a short swing.
TSF + RSI
RSI adds a momentum check to a turn in the line.
TSF FAQQuestions traders ask.
What are the default TSF settings?
Length 14 and Forecast 3 on the close.
How is TSF calculated?
It fits a least-squares line to the last 14 closes and reads it 3 bars past the current bar.
Is TSF a price prediction?
No. It extends the recent straight line. Real prices rarely follow it for long.
Why is TSF above price in an uptrend?
It projects the rising slope 3 bars ahead, so it leads the closes.
TSF or Linear Regression?
The Least Squares Moving Average reads the same fit on the current bar. TSF reads it 3 bars ahead, so it leads more and overshoots more.
TSF or EMA?
TSF follows the straight-line slope and turns quickly. An EMA is smoother and turns later.
Why does TSF overshoot at turns?
Right after a sharp run the slope is steep, and projecting it forward carries the line past the extreme.
Does TSF work on crypto?
Yes. It works on any market with closes.
Does TSF repaint?
No. Values on closed bars never change. The live bar moves until it closes. The forecast is drawn on the current bar, not shifted ahead.
Who described TSF?
Tushar Chande and Stanley Kroll in The New Technical Trader, 1994.
Related indicatorsMore trend tools.
All trend indicatorsTry TSF on a live chart.
Free. No download.
Works in your browser and on iPhone too.