Schaff Trend Cycle
Indicator
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.
The cycle is in the lower half of its 0 to 100 range.
STC 0.0
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.
Line near the top
The double stochastic of MACD is in the high part of its 0 to 100 range.
Line near the bottom
The cycle is in the low part of the range. A long decline can keep it there.
Cross of 50
The cycle has moved through the middle of its range.
Pressed against 100
The MACD stochastic is pinned high. Strong trends can hold it there bar after bar.
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.
Make a MACD
Subtract a 50-bar EMA of the close from a 23-bar EMA. Both start at the first close.
Stochastic, then half
Turn that MACD into a 10-bar stochastic and move the result halfway from its previous value toward the new one.
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.
| Setting | Default | Range | What it changes |
|---|---|---|---|
| Cycle length | 10 | 1 to 5,000 | The stochastic window, used twice. The Signal lens on this page changes this length. |
| Fast length | 23 | 1 to 5,000 | The faster EMA inside the MACD. |
| Slow length | 50 | 1 to 5,000 | The slower EMA inside the MACD. |
| Source | Close | Any price, or volume | The price the two EMAs are taken from. |
| Line | Blue #2196F3, 2 px | Fixed | One 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.
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
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
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
Around 50 the MACD stochastic has no edge. Crosses there come and go.
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 + MACD
The same style of gap between two EMAs, drawn as itself so you can see what STC is cycling.
Schaff Trend Cycle + EMA 200
Use the EMA for direction and STC for timing inside it.
Schaff Trend Cycle + ADX
ADX helps separate a line pinned high by a trend from one flicking up in a range.
Schaff Trend Cycle + RSI
RSI is a bounded momentum read next to the cycle.
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 indicatorsTry Schaff Trend Cycle on a live chart.
Free. No download.
Works in your browser and on iPhone too.