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.
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
| RSI | Stochastic | |
|---|---|---|
| Measures | Size of gains against losses | Position of the close in the range |
| Reaches extremes | Comparatively rarely | Very frequently |
| In a strong trend | Elevated but mobile | Pinned at the extreme for long runs |
| Conventional levels | 70 / 30 | 80 / 20 |
| Sensitive to | The magnitude of moves | Where 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.
Scroll the chart sideways to see all of it.
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 | %D | Character |
|---|---|---|---|
| Fast | Raw calculation | 3-period average of %K | Very noisy. Rarely used directly |
| Slow | The fast %D becomes %K | 3-period average of that | The common default |
| Full | Smoothed by a chosen number of periods | Averaged again by a chosen number | Both 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.