Time Series Forecast (TSF)

TSF
Indicator

TrendOn the price chartFree on ChartLabs

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.

Example market1hIndicatorsAtlas AITSFchartlabs.co/charts
Atlas reads it

The TSF 14 is falling: the 14-bar trend line points down.

TSF 14 64,087.4 · Close 65,242.2

Atlas reads it

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.

TSF above the closes
1Bullish

Rising TSF above the closes

The projected line leads the advance. Price keeps up with the slope.

TSF under the closes
2Bearish

Falling TSF under the closes

The projected line leads the decline.

TSF turns up
3Bullish lean

TSF turns up

After falling, the 14-bar slope turns positive and the line hooks up.

TSF turns down
4Bearish lean

TSF turns down

After rising, the slope turns negative and the line hooks down.

TSF formulaHow it is calculated.

b=least-squares slope of the last 14 closesy^=fitted value on the current barTSF=y^+3×b
STEP 1

Fit a line

Find the straight line that best fits the last 14 closes, by least squares.

STEP 2

Read its end

Take the line's value on the current bar.

STEP 3

Project it

Add 3 times the slope to reach 3 bars ahead. That number is plotted on the current bar.

TSF settingsEvery setting, explained.

SettingDefaultRangeWhat it changes
Length142 to 5,000Closes in the fit. Longer gives a steadier slope.
Forecast30 to 500Bars ahead the line is read. 0 gives the fitted end of the line.
SourceCloseAny priceWhich values feed the fit.
LineGrey #999999, 1 pxAny colour and widthColour 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.
1420 price crosses in view
70,66567,15863,65160,14464,803.7

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.

TSF turns up

Hook up after a fall

IfTSFrises after6falling barsthenlook for longs

The turn means the 14-bar slope has flipped. Traders often want price to confirm with a higher close.

TSF above the closes

Hold while it rises

WhileTSFrisesholdthe position

A rising TSF says the recent straight-line trend still points up.

TSF turns down

Exit on the hook down

IfTSFfalls after risingthenclose the long

The quick turn suits exits, where reacting early matters more.

Test a rule in the Strategy TesterFree with 1 year of history. Past results do not guarantee future results.

TSF mistakesCommon mistakes.

TSF above the closes

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.

TSF turns down

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.

Through the line and straight back

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 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 indicators

Try TSF on a live chart.
Free. No download.

Works in your browser and on iPhone too.

Example market1h
TSF (14, 3)