Indicators11 min read

Stochastic Oscillator Explained: Overbought, Oversold, and How to Use Divergence Signals

A practical guide to the stochastic oscillator covering the math behind %K and %D, what overbought and oversold actually mean (it is not what most beginners think), how to use stochastic divergence for trade entries, and the settings and timeframes where stochastics work best.

Published March 19, 2026

The stochastic oscillator is one of the oldest momentum indicators — George Lane developed it in the 1950s — and it is still one of the most useful for timing entries in range-bound and pullback trading. But it is also one of the most misused, primarily because beginners treat overbought and oversold as automatic buy and sell signals without understanding what those zones actually represent.

Direct Answer

The stochastic oscillator measures where the current closing price falls within the recent price range. It produces two lines: %K (the fast line, showing where the close sits relative to the high-low range of the last N periods) and %D (the slow line, a moving average of %K). Both oscillate between 0 and 100. Readings above 80 are considered overbought, and below 20 are considered oversold. The key insight most beginners miss: overbought does not mean sell, and oversold does not mean buy. A stock can stay overbought for weeks in a strong uptrend. The stochastic is most useful for identifying momentum divergences and timing entries within established trends, not for calling tops and bottoms.

The Math: What %K and %D Actually Calculate

%K = (Close - Lowest Low) / (Highest High - Lowest Low) x 100, calculated over N periods (the default is 14). In plain language: if the stock's range over the last 14 days was $50 to $60, and today's close is $58, then %K = (58 - 50) / (60 - 50) x 100 = 80. The close is 80% of the way from the bottom to the top of the recent range.

%D is a 3-period simple moving average of %K. It smooths out the noise and provides a signal line for crossovers.

The slow stochastic (what most platforms display by default) applies additional smoothing: the fast %K is smoothed with a 3-period MA to become the slow %K, and then a 3-period MA of the slow %K becomes the slow %D. The slow version produces fewer false signals but reacts more slowly to price changes. The standard settings — (14, 3, 3) — work well for daily charts. Shorter periods (5, 3, 3) are more sensitive for intraday charts. Longer periods (21, 5, 5) filter more noise for weekly charts.

What the reading tells you: a %K of 90 means today's close is near the top of the recent range — buyers have been in control. A %K of 10 means the close is near the bottom — sellers have been in control. The directionality of %K (rising or falling) tells you whether momentum is currently shifting toward buyers or sellers.

The Overbought/Oversold Trap: Why Beginners Lose Money Here

This is where most stochastic traders get burned. They see %K cross above 80 and sell, or below 20 and buy, expecting an automatic reversal. In a trending market, this is a recipe for disaster.

In a strong uptrend, the stochastic will stay above 80 for extended periods — sometimes weeks. Every time you sell because it is overbought, the stock keeps climbing and you are either stopped out or missing the trend. The stochastic is not telling you the stock is too high — it is telling you the stock keeps closing near the top of its recent range, which is exactly what happens in a trend.

The correct interpretation: overbought means strong upward momentum, not sell signal. Oversold means strong downward momentum, not buy signal. The signals that actually work with stochastics come from crossovers and divergences, not from the zones themselves.

The useful zone-based application: in a confirmed range-bound market (price bouncing between clear support and resistance), selling near the overbought zone and buying near the oversold zone works well because the stock has demonstrated that it reverses at these levels. But you must first confirm the range — using stochastic zone signals in a trending market will drain your account.

Stochastic Divergence: The High-Probability Signal

Divergence is where the stochastic earns its keep. Bullish divergence occurs when price makes a lower low but the stochastic makes a higher low — momentum is improving even though price is still dropping. This suggests the selling pressure is weakening and a reversal may be forming. Bearish divergence is the opposite: price makes a higher high but the stochastic makes a lower high — momentum is fading even as price climbs higher.

Divergence signals are most reliable when they occur at logical price levels — bullish divergence at a support zone, bearish divergence at resistance. A divergence in the middle of nowhere is less meaningful because there is no structural level to anchor the potential reversal.

How to trade divergence: identify the divergence, wait for confirmation (a %K/%D crossover in the direction of the expected reversal), and enter with a stop beyond the recent extreme. Example: price makes a lower low at a support zone, stochastic makes a higher low (bullish divergence), %K crosses above %D from below 20 (the trigger) — enter long with a stop below the recent low. The target is the resistance level that defined the previous swing high.

Charted highlights stochastic divergences automatically on your charts so you do not have to scan for them manually — the app flags bullish and bearish divergences at key support and resistance levels.

Settings and Timeframe Considerations

The default (14, 3, 3) works for most applications on the daily chart. For day trading on 5 or 15-minute charts, faster settings (5, 3, 3 or 8, 3, 3) respond to intraday momentum shifts better. For weekly charts and position trading, slower settings (21, 7, 7) filter out daily noise and focus on the larger momentum cycle.

The stochastic works best in range-bound and pullback environments. In strong trending markets, it spends most of its time in the overbought or oversold zone, producing few actionable signals. Pair it with a trend filter — use stochastic signals only when the stock is trending in the direction of the signal. A bullish stochastic crossover in a stock above its 50-day MA is a stronger setup than the same crossover in a stock below its 50-day MA.

Do not use the stochastic in isolation. Combine it with price action (support/resistance, candlestick patterns), volume confirmation (is volume supporting the signal?), and at least one trend indicator (moving average, ADX). The stochastic tells you about momentum timing. The other tools tell you about direction and conviction. Together, they produce high-probability entries.

*This content is for educational purposes only and does not constitute financial advice. Trading involves significant risk of loss.*

Tags:

stochastic oscillatormomentum indicatoroverbought oversolddivergencetechnical analysis

Try AI Chart Analysis

Put these concepts into practice with Charted's AI-powered chart analyzer.

Download Charted

More From the Blog

Explore Chart Patterns

Disclaimer: This content is for educational purposes only and should not be considered financial advice. All trading involves risk. Always consult a licensed financial professional before making investment decisions.