Technical analysis

Stochastic Oscillator Explained: %K, %D and Overbought Signals

How the stochastic oscillator works, fast vs. slow stochastics, crossovers and divergences, and how it differs from the RSI.

Key takeaways

  • The stochastic oscillator shows where the latest close sits inside the high–low range of the last 14 sessions, on a scale from 0 (at the low) to 100 (at the high).
  • VantageLedger draws the slow stochastic with 14, 3, 3 settings: the raw %K is smoothed over 3 sessions, and %D is a 3-session average of that smoothed %K.
  • Above 80 means closes are bunched near the top of the recent range, not that the price must fall; in a strong uptrend the stochastic can stay above 80 for weeks.
  • The stochastic reacts faster than the 14-day RSI. On October 23, 2026, Apple's slow %K was about 86 while its RSI was about 64.

The stochastic oscillator is a momentum indicator that answers one question: is the price closing near the top or near the bottom of its recent range? It compares the latest close with the highest high and lowest low of the last 14 sessions and expresses the result as a number from 0 to 100. Readings above 80 are called overbought, readings below 20 oversold.

George Lane popularized it in the 1950s, starting from a simple observation: in a rising market, closes tend to land near the day's highs, and in a falling market near the lows. When that stops happening, momentum is fading, often before the price itself turns.

How is the stochastic oscillator calculated?

The calculation has two lines, %K (the main line) and %D (its signal line). It starts with the raw %K:

Raw %K = (Close − Lowest low of 14 sessions) ÷ (Highest high of 14 sessions − Lowest low of 14 sessions) × 100

A raw %K of 100 means the stock closed at the highest price of the past 14 sessions. A value of 0 means it closed at the lowest. A value of 50 means it closed exactly halfway through the range. The highs and lows are intraday extremes, not closes, so a stock that spikes up and then fades during the day widens the range and pulls %K down.

The %D line is a 3-period simple moving average of %K. Because it moves more slowly, the points where %K crosses %D are the oscillator's basic signals.

Fast, slow and full stochastic: which one does the chart show?

The name "stochastic" covers three variants that differ only in how much smoothing is applied. This is where most confusion comes from, because two charts can both say "Stochastic 14" and show different lines.

Variant %K line %D line Character
Fast stochastic Raw %K 3-period average of raw %K Very jumpy, many false signals
Slow stochastic 3-period average of raw %K (the fast %D) 3-period average of slow %K The common default
Full stochastic Raw %K averaged over a chosen number of periods Average of full %K over a chosen number of periods Fully adjustable; 14, 3, 3 equals the slow version

VantageLedger draws the slow stochastic, 14, 3, 3: a 14-session lookback, %K smoothed over 3 sessions, and %D averaged over 3 more. In full-stochastic notation that is (14, 3, 3). It needs 18 sessions of data before the first %D value appears. If you compare with another platform, check that it uses the same three numbers; a fast stochastic will look far noisier.

Worked example: Apple on October 23, 2026

Here is the calculation for Apple (AAPL) at the close of October 23, 2026, using VantageLedger's daily price history, which adjusts stock prices for splits and dividends. The numbers match what the chart draws.

  1. Find the 14-session range. The highest high of the last 14 sessions was $351.73, set that same day. The lowest low was $330.62, on October 6.
  2. Compute raw %K. Apple closed at $347.73. (347.73 − 330.62) ÷ (351.73 − 330.62) = 17.11 ÷ 21.11 = 0.811, so raw %K is 81.1.
  3. Smooth it into slow %K. Raw %K was 76.3 on October 21 and 99.2 on October 22, when Apple closed just 14 cents below its intraday high. The average of 76.3, 99.2 and 81.1 is 85.5.
  4. Compute %D. Slow %K was 71.4, 78.9 and 85.5 on the last three sessions, so %D is 78.6.

The jump from 81.1 to 99.2 and back in two days shows why nobody trades the raw line: a single strong close sends it to the ceiling. The smoothed %K of 85.5 says the same thing more calmly. Apple was closing in the top part of a fairly narrow $21 range, and %K sat above %D, so short-term momentum was still pointing up.

On the same day the S&P 500 had a slow %K of about 26 and a %D of about 36, after a 2.5% pullback from its October 6 close. Same market, same day, opposite readings: the oscillator measures each instrument against its own recent range.

What do the 80 and 20 levels mean?

The 80 and 20 lines are conventions, not laws. Above 80, the close is in the top fifth of the 14-session range; below 20, in the bottom fifth. That describes where the price has been, not where it is going.

In a trending market the oscillator can pin itself to one extreme for a long time. Apple's slow %K stayed above 78 from September 17 to September 28, 2026, while the stock kept closing between $336 and $341, near the top of its range. Selling each time it crossed 80 would have meant selling into strength. The more useful reading is directional:

  • In an uptrend, overbought readings confirm strength. Dips of %K toward 20–30 that then turn up are the moments trend followers watch.
  • In a downtrend, oversold readings confirm weakness, and bounces toward 70–80 that roll over matter more.
  • In a sideways range, the classic "sell above 80, buy below 20" reading works best, because the price keeps reverting inside the range.

Deciding which of the three regimes you are in is a job for a trend tool. The ADX is built for exactly that, and a simple 200-day moving average does a rough version of it.

How to trade %K and %D crossovers

A bullish crossover happens when %K crosses above %D; a bearish crossover when it crosses below. Even on a slow stochastic these crossings are frequent, so traders filter them:

  1. Location. A bullish cross below 20 or a bearish cross above 80 carries more weight than one in the middle of the scale.
  2. Trend direction. Take crossovers in the direction of the larger trend and ignore the others.
  3. Confirmation. Wait for the price itself to act, for example a close above the prior session's high after a bullish cross.

Apple again shows the trade-offs. Its slow %K fell from about 95 on September 21 to 33 on October 5. On October 6, %K (38.9) crossed back above %D (35.0), and by October 23 the stock had risen from $333.63 to $347.73. A strict reader would have skipped that signal, because it happened above 20. One example proves nothing in either direction; it simply shows that the rules are filters, not guarantees.

Stochastic divergences

A divergence is a disagreement between price and the oscillator. Lane put particular weight on them.

  • Bearish divergence: the price makes a higher high, but the stochastic makes a lower high. Each push up is closing less convincingly near the top of the range.
  • Bullish divergence: the price makes a lower low, but the stochastic makes a higher low. Sellers are losing their grip.

Divergences are warnings, not timing tools. A stock can print two or three divergences in a row while the trend keeps going. They become more useful when they line up with a trendline break or a failed breakout. Because the stochastic is bounded at 100, divergences near the top of the scale are common and should be treated with extra caution.

Stochastic vs RSI vs Stochastic RSI

The stochastic and the RSI share a 0–100 scale and the same overbought vocabulary, but they measure different things. The Stochastic RSI, which VantageLedger also draws, combines the two.

Stochastic (14, 3, 3) RSI (14) Stochastic RSI (14, 3, 3)
Measures Close relative to the 14-session high–low range Average gains vs average losses, close to close RSI relative to its own 14-session range
Uses highs and lows Yes No, closes only No, closes only
Usual levels 80 / 20 70 / 30 80 / 20
Speed Fast Slower, rarely reaches extremes Fastest, often swings from 0 to 100 in days
Apple, Oct 23, 2026 %K 85.5 63.9 %K 91.5

The Apple row makes the difference concrete. With the same price history, the RSI said "moderately strong", the stochastic said "near the top of the range", and the Stochastic RSI said "RSI at the top of its own range". None is wrong. The RSI suits slower swing analysis; the stochastic suits short swings inside ranges; the Stochastic RSI is a sensitive trigger that needs a trend filter to be usable. Tushar Chande and Stanley Kroll introduced it in 1994 precisely because the plain RSI can spend weeks without reaching 70 or 30.

To see how these fit with trend and volatility tools, read The Best Technical Indicators and How to Combine Them. The MACD is the natural complement: a trend-following momentum tool that tells you which side of the stochastic's signals to take.

Common mistakes with the stochastic

  • Treating 80 as a sell signal. Overbought is a description of strength. Shorting it in an uptrend fights the trend.
  • Comparing different settings. A fast stochastic and a slow stochastic with the same 14-day lookback can disagree for days.
  • Ignoring gaps and thin ranges. When the 14-session range is narrow, a small move swings %K across the whole scale. Apple's $21 range in the example above was only about 6% of its price.
  • Using it alone. The stochastic has no notion of trend. Pair it with a trend filter and a stop based on volatility, such as the average true range.

You can scan every asset for a stochastic condition, such as %K crossing above %D or %K below 20, with the screener, and get an email when it happens on a single stock with an indicator alert. Both work on end-of-day data.

Scan for stochastic signals

FAQ

What are the best settings for the stochastic oscillator?

The standard is 14, 3, 3 (a 14-session lookback with 3-session smoothing on %K and %D), which is what VantageLedger draws. Shorter lookbacks such as 5 make it faster and noisier; longer ones such as 21 make it smoother and slower.

Is the stochastic better than the RSI?

Neither is better in general. The stochastic reacts faster and uses intraday highs and lows, which suits range-bound markets; the RSI moves more slowly and reaches extremes less often, which suits trend analysis.

What does it mean when %K crosses above %D?

It means short-term momentum has turned up relative to its recent average. The signal carries more weight below 20 and in the direction of the larger trend.

Can the stochastic stay overbought for a long time?

Yes. In strong uptrends it can stay above 80 for weeks, because the price keeps closing near new highs. That is a sign of strength, not an automatic sell signal.

This article is for education only and is not investment advice. Past performance does not guarantee future results. Live figures are computed from daily closing prices and can lag the market by a day or more.

Instruments in this article

Keep reading