Schaff Trend Cycle Calculator

Technical indicators

Schaff trend cycle54.80
Change from previous STC13.60
Distance from the 50 line4.80
Signal zoneNeutral zone (25 to 75)
How this was calculated
  1. Inputs: the second-pass stochastic of the MACD reads 68.40, the previous STC is 41.20 and the smoothing factor is 0.50.
  2. Gap to close: 68.40 - 41.20 = 27.20 points.
  3. Smoothed step: 41.20 + 0.50 x 27.20 = 54.80.
  4. Schaff trend cycle result: 54.80 - neutral zone (25 to 75).

The Schaff trend cycle is Doug Schaff's attempt to get the best of two indicator families at once: the trend sensitivity of the MACD and the clean, bounded readings of a stochastic. His construction runs the MACD through a stochastic calculation, then runs that stochastic through a second stochastic, and finally smooths the result. Each pass strips out a layer of noise, so the finished indicator turns earlier than a MACD histogram while still drawing the smooth, deliberate curves traders associate with stochastics.

This calculator performs the final stage of that chain, the step that turns the second-pass stochastic value into the STC itself. Enter the second-pass stochastic reading from your platform, the previous bar's STC, and the smoothing factor - 0.5 is the standard default - and the page returns the new STC, how far it moved this bar, its distance from the 50 line and which of Schaff's signal zones it occupies. The worked examples show a neutral rise, a neutral fall and an overbought reading.

Worked examples

STC rising through the 50 line

(68.4 · 41.2 · 0.5)

Schaff trend cycle54.80
Change from previous STC13.60
Distance from the 50 line4.80
Signal zoneNeutral zone (25 to 75)

STC falling but still neutral

(22.6 · 58.9 · 0.5)

Schaff trend cycle40.75
Change from previous STC-18.15
Distance from the 50 line-9.25
Signal zoneNeutral zone (25 to 75)

STC in the overbought zone

(91.3 · 74.6 · 0.5)

Schaff trend cycle82.95
Change from previous STC8.35
Distance from the 50 line32.95
Signal zoneOverbought zone (above 75)

Two stochastics on a MACD: the STC chain

The chain starts with the MACD line, the difference between two exponential moving averages of price. A stochastic applied to that line asks where the MACD sits inside its own recent range, which converts a trend measure into a bounded 0-to-100 position. Applying the stochastic a second time, to the output of the first, sharpens the turning behaviour further: the double application is what makes the STC respond to changes in the MACD's momentum rather than to the MACD's level alone.

The last step, and the one this page computes, is a simple exponential-style smoothing of the second stochastic toward the previous STC. In the first worked example the second-pass stochastic reads 68.40 and the previous STC is 41.20, so there is a gap of 27.20 points to close. The smoothing factor of 0.50 closes half of it in one bar: 41.20 plus 0.50 times 27.20 gives the new STC of 54.80.

Because the smoothing only ever closes a fraction of the gap, the STC can never jump straight to the stochastic's value; it glides. A single violent bar moves it part-way, and only a sustained run of high or low stochastic readings walks it to an extreme. That glide is deliberate - it is what separates an STC signal from the whipsaw of the raw stochastic it is built from.

  • STC = previous STC + smoothing factor x (second-pass stochastic - previous STC).
  • The standard smoothing factor is 0.5, closing half the remaining gap each bar.
  • The indicator is bounded between 0 and 100 like the stochastic it descends from.
  • Readings are interpreted against the 50 line and the 25 and 75 signal bands.

Reading the 25 and 75 bands

Schaff set his signal bands at 25 and 75, inside the 20 and 80 pair of a plain stochastic, because the double smoothing already removes much of the noise those wider bands exist to forgive. Above 75 the indicator calls the move overbought; below 25, oversold. The third worked example sits in that territory: a second-pass stochastic of 91.30 pulls the STC from 74.60 up to 82.95, a rise of 8.35 points that carries it across the 75 line.

The second example shows the more common event - a strong move that stays inside the bands. The stochastic falls to 22.60, below the oversold line itself, yet because the previous STC was 58.90 the smoothing lands at 40.75, still neutral, 9.25 points under the 50 line. The STC is telling you the trend cycle has rolled over without yet reaching the washed-out extreme where Schaff's buy signals live.

Between the bands, direction is the information. The first example's rise of 13.60 points in a single bar, from 41.20 to 54.80, crosses the 50 line from below - the configuration many STC users treat as the earliest confirmation that a new up-cycle is under way, several bars before the 75 band is threatened.

STC zoneReadingMeaning
OverboughtAbove 75The cycle is stretched upward; Schaff's sell territory
Neutral25 to 75No extreme; direction and the 50 line carry the signal
OversoldBelow 25The cycle is stretched downward; Schaff's buy territory
The STC only closes half the gap to its stochastic each bar at the standard 0.5 factor - a stochastic already below 25 can still leave the STC neutral, as the second example shows.

Worked examples

Example 1: Second-pass stochastic of MACD (%) 68.4; Previous STC 41.2; Smoothing factor 0.5. Schaff trend cycle = 54.80. Supporting values: Change from previous STC 13.60; Distance from the 50 line 4.80; Signal zone Neutral zone (25 to 75). Inputs: the second-pass stochastic of the MACD reads 68.40, the previous STC is 41.20 and the smoothing factor is 0.50. Gap to close: 68.40 - 41.20 = 27.20 points. Smoothed step: 41.20 + 0.50 x 27.20 = 54.80. Schaff trend cycle result: 54.80 - neutral zone (25 to 75).

Example 2: Second-pass stochastic of MACD (%) 22.6; Previous STC 58.9; Smoothing factor 0.5. Schaff trend cycle = 40.75. Supporting values: Change from previous STC -18.15; Distance from the 50 line -9.25; Signal zone Neutral zone (25 to 75). Inputs: the second-pass stochastic of the MACD reads 22.60, the previous STC is 58.90 and the smoothing factor is 0.50. Gap to close: 22.60 - 58.90 = -36.30 points. Smoothed step: 58.90 + 0.50 x -36.30 = 40.75. Schaff trend cycle result: 40.75 - neutral zone (25 to 75).

Example 3: Second-pass stochastic of MACD (%) 91.3; Previous STC 74.6; Smoothing factor 0.5. Schaff trend cycle = 82.95. Supporting values: Change from previous STC 8.35; Distance from the 50 line 32.95; Signal zone Overbought zone (above 75). Inputs: the second-pass stochastic of the MACD reads 91.30, the previous STC is 74.60 and the smoothing factor is 0.50. Gap to close: 91.30 - 74.60 = 16.70 points. Smoothed step: 74.60 + 0.50 x 16.70 = 82.95. Schaff trend cycle result: 82.95 - overbought zone (above 75).

STC against the MACD and the stochastic

Against its two parents, the STC's character is a compromise with a bias toward speed. A plain stochastic of price is faster still but spends its life pinballing between extremes on noise; the MACD histogram is smoother but unbounded and slow to declare a turn. The STC inherits the stochastic's bounded scale - every reading is directly comparable across instruments and decades - while the MACD underneath keeps it honest about the underlying trend rather than the last few bars of price.

The honest limitation is the chain's length. Three calculations sit between price and the final number, and each has a period to choose. Two platforms with different MACD or stochastic settings will produce different second-pass stochastics from the same chart, and therefore different STCs from this page. The calculator removes arithmetic doubt about the final step; it cannot reconcile upstream settings, so keep them fixed and documented.

When the STC misleads

The failure mode is a long, flat market. With the MACD pinned near zero, its stochastic wanders its range on trivial movements, and the STC can trace convincing-looking cycles between 25 and 75 that correspond to nothing in price. Schaff designed the indicator for trending instruments; in a sideways tape its turns are artefacts of the construction, and the distance-from-50 figure on this page - small in genuine trends' early stages - stays small and directionless.

A second trap is the smoothing factor. Raising it toward 1 makes the STC chase the stochastic and readmits the noise the design exists to remove; lowering it makes the glide so slow that band crossings arrive after the move they were meant to catch. The 0.5 default is Schaff's own balance, and the worked examples use it throughout so the three readings are directly comparable.

Getting the second-pass stochastic from your platform

Most platforms that offer the STC only print the finished line, but several expose the intermediate stochastic of the MACD as a separate study, and scripting platforms let you read the value directly. What this page needs is that second-pass value for the current bar and the STC's own previous value - both are single numbers, and with them the final step is exact rather than estimated.

If your platform prints neither, the practical route is to note the STC's previous close from the chart and take the stochastic value from the platform's data window at the same bar. Mixing bars - a stochastic from today against an STC from two bars ago - silently corrupts the gap the smoothing acts on, and the error compounds bar after bar.

FAQs

What does the Schaff trend cycle measure?

It tracks the position of the MACD inside its own recent range, twice stochastically smoothed. The final step blends the second-pass stochastic toward the previous STC by the smoothing factor, giving a bounded 0-to-100 trend-cycle reading.

What STC does the first worked example produce?

With a second-pass stochastic of 68.40, a previous STC of 41.20 and the standard 0.5 smoothing factor, the gap of 27.20 is half closed and the new STC is 54.80 - a rise of 13.60 points into neutral ground above the 50 line.

When is the STC overbought or oversold?

Schaff's bands are 75 and 25. The third example, at 82.95, is overbought. Note the second example: its stochastic of 22.60 is below 25, yet the STC itself only falls to 40.75, because the smoothing starts from the previous value of 58.90.

Why does the STC use two stochastics instead of one?

Each stochastic pass sharpens the turning behaviour of the MACD and strips another layer of short-term noise. One pass leaves a MACD-position gauge; the second turns it into a cycle indicator that reacts to changes in momentum rather than to momentum's level.

What smoothing factor should I use?

0.5 is Schaff's standard and the value used in every worked example here. Higher values make the STC chase its stochastic and reintroduce noise; lower values delay band crossings until after the move they were meant to catch.

Can I compare STC readings across platforms?

Only if the upstream settings match. Different MACD or stochastic periods produce different second-pass stochastics from the same chart. This page makes the final step exact; keeping the chain's settings fixed and documented is what makes readings comparable.

Sources

Related calculators

Stochastic Momentum Index Calculator
The stochastic momentum index from double-smoothed values - SMI, its signal histogram and the overbought or oversold zone.
Chande Momentum Oscillator Calculator
Chande's momentum oscillator from summed up and down moves - the CMO value, up/down ratio and overbought or oversold zone.
Ultimate Oscillator Calculator
Larry Williams' ultimate oscillator: buying pressure over true range averaged across 7, 14 and 28 periods and combined with 4-2-1 weights.