Schaff Trend Cycle (STC)

Schaff Trend Cycle
Indicator

MomentumSeparate panelFree on ChartLabs

The Schaff Trend Cycle runs a MACD line through two stochastics, each smoothed by half, so the result cycles between 0 and 100 with the trend.

Created by Doug Schaff, 1999. Reviewed by the ChartLabs team, updated Nov 2026.

Example market1hIndicatorsAtlas AISchaff Trend Cyclechartlabs.co/charts
Atlas reads it

The cycle is in the lower half of its 0 to 100 range.

STC 0.0

Atlas reads it

The cycle is in the lower half of its 0 to 100 range.

STC 0.0

Illustration on simulated data.

Schaff Trend Cycle (STC)What is the Schaff Trend Cycle indicator?

The Schaff Trend Cycle draws one blue line (#2196F3, 2 px) in its own panel. There are no level lines. The scale is the stochastic scale, 0 to 100.

Under the line is a MACD: a 23-bar EMA of the close minus a 50-bar EMA. Each EMA starts at the first close. That MACD is turned into a stochastic over the last 10 bars, then smoothed halfway toward its previous value. The same stochastic and the same half-smooth run a second time. The second result is the line you see.

A zero range in either stochastic keeps the previous stochastic value, which starts at 0. The line can sit near 100 for a long rise and near 0 for a long fall, then snap the other way. It is built to do that. It is not a bounded oscillator you fade at 80.

Half smooth, fixed

Each stochastic is eased by 0.5 toward its last value. That 0.5 is not a setting.

Starts immediately

Because the EMAs seed with the first value, the line has a reading on the first bar.

Schaff Trend Cycle signalsFive patterns to know.

1Bullish lean

Line near the top

The double stochastic of MACD is in the high part of its 0 to 100 range.

2Bearish lean

Line near the bottom

The cycle is in the low part of the range. A long decline can keep it there.

3Inconclusive

Cross of 50

The cycle has moved through the middle of its range.

4Bullish lean

Pressed against 100

The MACD stochastic is pinned high. Strong trends can hold it there bar after bar.

5Inconclusive

Stuck in the middle

The line wanders between 40 and 60. MACD is not making new extremes over the cycle window.

Schaff Trend Cycle formulaHow it is calculated.

MACD=EMA23−EMA50STC=smooth(stoch(smooth(stoch(MACD,10)),10))
STEP 1

Make a MACD

Subtract a 50-bar EMA of the close from a 23-bar EMA. Both start at the first close.

STEP 2

Stochastic, then half

Turn that MACD into a 10-bar stochastic and move the result halfway from its previous value toward the new one.

STEP 3

Do it again

Run a second 10-bar stochastic on that smoothed value, and half-smooth once more. That is the STC line.

Schaff Trend Cycle settingsEvery setting, explained.

SettingDefaultRangeWhat it changes
Cycle length101 to 5,000The stochastic window, used twice. The Signal lens on this page changes this length.
Fast length231 to 5,000The faster EMA inside the MACD.
Slow length501 to 5,000The slower EMA inside the MACD.
SourceCloseAny price, or volumeThe price the two EMAs are taken from.
LineBlue #2196F3, 2 pxFixedOne line, no guide levels.
Setting
Cycle length
Default
10
Range
1 to 5,000
What it changes
The stochastic window, used twice. The Signal lens on this page changes this length.
Setting
Fast length
Default
23
Range
1 to 5,000
What it changes
The faster EMA inside the MACD.
Setting
Slow length
Default
50
Range
1 to 5,000
What it changes
The slower EMA inside the MACD.
Setting
Source
Default
Close
Range
Any price, or volume
What it changes
The price the two EMAs are taken from.
Setting
Line
Default
Blue #2196F3, 2 px
Range
Fixed
What it changes
One line, no guide levels.
104 turns in view
70,20866,82563,44360,06164,803.7

Drag to see how the setting changes the lines and how many signals you get. Illustration on simulated data.

Schaff Trend Cycle strategiesUse it in 3 setups.

Cross of 50 with the trend

IfSTCcrosses above50exit whenit crosses back

A cross of the middle says the cycle changed half. Traders often take it only in the direction of a slower average.

Stay with a line pinned high

WhileSTCholds near100hold

A line near 100 means MACD keeps making highs inside the cycle window. Leaving just because it looks high fights that.

Skip a line in the middle

WhileSTCchops around50thenstand aside

Around 50 the MACD stochastic has no edge. Crosses there come and go.

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

Schaff Trend Cycle mistakesCommon mistakes.

Fading 100 as if it were RSI 70

STC is built to pin near 100 in a trend. A high reading is the trend still making MACD extremes, not an automatic fade.

Treating the first bars as settled

The EMAs start at the first close, so early readings are mostly that seed working through two stochastics.

Taking every cross of 50

In a range the line crosses 50 often. One cross is not a trend.

Schaff Trend Cycle combinationsPair it with these.

Schaff Trend Cycle FAQQuestions traders ask.

What are the default Schaff Trend Cycle settings?

Cycle length 10, fast EMA 23, slow EMA 50, on the close. Each stochastic is then smoothed by one half, and that half is not a setting.

What does the line actually measure?

A MACD of the close, passed through a 10-bar stochastic and a half-smooth, then through both of those again.

Why does it sit at 100 or 0 for so long?

That is the design. A trend that keeps the MACD at new highs holds the stochastic at the top of its window.

Are there 25 and 75 levels?

Not on this indicator. ChartLabs draws the line alone. 50 is the middle of the scale, not a plotted level.

Why is there a value on the first bar?

Both EMAs start at the first close, and a zero range keeps the stochastic at its previous value, which starts at 0.

Is the Schaff Trend Cycle leading or lagging?

Lagging. MACD is two averages, and the stochastics look back over the cycle length.

Does the Schaff Trend Cycle repaint?

No. A closed bar keeps its value. The live bar moves until it closes.

What timeframe can I use?

Any. Doug Schaff used it as a trend cycle, so higher timeframes spend longer pinned at an extreme.

Who created the Schaff Trend Cycle?

Doug Schaff, in 1999. The MACD piece descends from Gerald Appel.

Related indicatorsMore momentum tools.

All momentum indicators

Try Schaff Trend Cycle on a live chart.
Free. No download.

Works in your browser and on iPhone too.

Example market1h
Schaff Trend Cycle (10, 23, 50)