Intermediate4 min read

The Stochastic Oscillator

Where the close sits inside the recent high-low range, expressed 0 to 100. It asks a different question from RSI and reaches extremes far more readily.

MadStockAlerts Research · Updated August 28, 2026

What to take away

  • %K measures the close's position within the lookback range; %D smooths it.
  • It reaches extremes much more often than RSI, so its thresholds are noisier.
  • In a strong trend it pins near an extreme and stays there.
  • The fast version is very noisy; most charts use a slowed variant.
  • Its premise is that closes cluster near the top of the range in an advance.

MAD Academy Training Video · 0:43

Where the Close Sat in the Range

The stochastic answers one narrow question, and reading it as an overbought gauge misses what it is for.

This lesson is part of a Stock Alerts + Tools plan.

See the library

The calculation

%K = 100 x (close - lowest low) / (highest high - lowest low)

  • over the lookback, conventionally 14 periods
  • %D is a 3-period moving average of %K

A reading of 100 means the close was the highest point of the window; 0 means it was the lowest. The premise, which is a genuine observation rather than an arbitrary construction, is that closes cluster near the top of the range in an advance and near the bottom in a decline.

Note what the formula ignores: how far the range is from where it was a month ago. The stochastic is entirely local. A security in a sustained decline can print 100 on a bounce within its own recent, much lower range.

How it differs from RSI

RSIStochastic
MeasuresSize of gains against lossesPosition of the close in the range
Reaches extremesComparatively rarelyVery frequently
In a strong trendElevated but mobilePinned at the extreme for long runs
Conventional levels70 / 3080 / 20
Sensitive toThe magnitude of movesWhere the close landed, regardless of magnitude

The last row is the important one. A day that rises a tiny amount but closes at the top of a narrow range prints a high stochastic and a modest RSI. They are measuring genuinely different things, and using both is one of the few cases where two oscillators are not redundant.

Fast, slow and full

  • Fast: raw %K with a 3-period %D. Extremely noisy and rarely used unmodified.
  • Slow: %K smoothed by 3 periods before %D is taken. The common default.
  • Full: all three parameters exposed, so the lookback and both smoothings can be set.

Pinning is the characteristic failure. In a sustained advance the stochastic sits above 80 for weeks. Reading each of those readings as a reason to expect a decline produces a long sequence of being early and wrong.

Pinned above 80
Pinned above 8019.626.332.939.546.18020Stochastic %K (14, 3)Above 80 and staying there whileprice grinds higher

Scroll the chart sideways to see all of it.

A real stochastic computed from these bars. It reaches the top band early in the advance and stays there, which is the behaviour that makes its thresholds noisier than RSI's. Illustrative, not live data.

Because different platforms default to different smoothing, two traders quoting a stochastic reading on the same security at the same moment can legitimately disagree. Naming the variant is worth the words.

What the construction assumes

The stochastic asks a narrow question: where did the close fall within the high-low range of the last n periods. A reading of 80 means the close was in the top fifth of that range, and nothing else.

%K = 100 x (close - lowest low) / (highest high - lowest low)

  • the lookback is conventionally 14 periods
  • %D is a moving average of %K, usually over 3 periods, and is the signal line

The assumption embedded in this is that closes cluster near the highs in an uptrend and near the lows in a downtrend, which is broadly true and is a description rather than a forecast. It also means the indicator saturates: in a persistent trend it pins near an extreme and stays there, conveying nothing further.

The denominator is a range over a window, so a single extreme bar within the lookback distorts every subsequent reading until it drops out. That produces sudden shifts in the oscillator on days when the close barely moved.

The three variants

Fast, slow and full stochastics differ only in how much smoothing is applied. The underlying calculation is identical, and each additional smoothing step trades responsiveness for fewer false signals.

Variant%K%DCharacter
FastRaw calculation3-period average of %KVery noisy. Rarely used directly
SlowThe fast %D becomes %K3-period average of thatThe common default
FullSmoothed by a chosen number of periodsAveraged again by a chosen numberBoth smoothing steps configurable

The slow variant is what most platforms display when the indicator is labelled simply stochastic, and the widely quoted settings of 14, 3, 3 refer to the lookback and the two smoothing steps.

The practical point is that a stochastic signal cited without stating the variant and the settings is not reproducible, and the difference between fast and slow is large enough to change whether a crossing occurred at all.

Educational content only. MadStockAlerts provides market commentary, research, and educational content. It is not personalized investment advice, and nothing here is a recommendation to buy or sell any security. Trading and investing involve substantial risk, including loss of capital. See the Risk Disclosure and Customer Agreement.