Stochastic Oscillator Guide: %K, %D, and How to Read It

By Jake Morrow · Published 2026-11-01 · Updated 2026-11-01

The short answer

The stochastic oscillator is a momentum indicator that shows where the latest close sits inside the recent high-low range, on a scale of 0 to 100. The fast line is %K and its moving average is %D. Readings above 80 are usually called overbought and below 20 oversold, but in a strong trend those zones can last a long time, so the indicator works best as context alongside trend and support levels.

The stochastic oscillator is one of the oldest momentum tools on a chart, and it still shows up by default on most crypto trading screens. It answers a narrow question: over the last few candles, is price closing near the top of its range or near the bottom? That is useful context, but on its own it tells you nothing about whether a trend will continue. This guide covers how the two lines are built, how to read the zones, where divergence fits, and how it compares with RSI. If you are new to charts, start with our technical analysis basics first.

How the Stochastic Oscillator Is Calculated

The idea is simple. In an uptrend, closes tend to land near the high of the recent range. In a downtrend, closes tend to land near the low. The indicator turns that observation into a number between 0 and 100.

The raw %K formula for a 14-period setting is:

%K = (latest close minus lowest low of 14 periods) divided by (highest high of 14 periods minus lowest low of 14 periods), multiplied by 100.

A worked example with made-up numbers: if the 14-candle high is 110, the low is 90 and the latest close is 105, then %K is (105 minus 90) divided by (110 minus 90), which equals 0.75, or 75. The close sits three quarters of the way up the range.

%D is a moving average of %K, normally over 3 periods. The “fast” stochastic uses raw %K. The “slow” stochastic, which most platforms show by default, first smooths %K over 3 periods and then takes a 3-period average of that for %D. That is where the familiar 14, 3, 3 setting comes from.

SettingWhat it controlsEffect of a higher number
14 (lookback)How many candles define the rangeFewer, slower signals
3 (%K smoothing)How much the main line is smoothedLess noise, more lag
3 (%D period)Length of the signal line averageLater crossovers

Reading Overbought and Oversold Zones

The standard bands are 80 and 20. Above 80, the close is in the top fifth of the recent range. Below 20, it is in the bottom fifth. Beginners often read 80 as “sell now” and 20 as “buy now,” and that is the most expensive mistake people make with this indicator.

In a strong trend, the stochastic can sit above 80 or below 20 for days. During a sharp rally the close keeps landing near the top of the range, so the reading stays pinned high. Selling every time it crosses 80 means fighting the trend. A more careful reading treats the zones as conditions, not triggers:

Pairing the zones with price structure helps. A stochastic turn that happens right at a support or resistance level or a Fibonacci retracement level carries more weight than one in the middle of nowhere.

%K and %D Crossovers

The second common signal is a crossover. When %K crosses above %D, short-term momentum is turning up. When %K crosses below %D, it is turning down. Crossovers inside the extreme zones, for example a bullish cross below 20, are usually treated as stronger than crossovers around 50, where the line is just drifting.

On low timeframes, crossovers happen constantly. If you trade one-minute charts, you will see dozens a day, and most of them lead nowhere. That is why many traders confirm a crossover with a candle close beyond a nearby level, or check that the higher timeframe agrees.

Divergence: When Price and Momentum Disagree

Divergence is the stochastic’s most interesting signal. Bearish divergence forms when price makes a higher high but the stochastic makes a lower high. Bullish divergence forms when price makes a lower low but the stochastic makes a higher low. In both cases, the move is continuing on weaker momentum.

Divergence is an early warning, not a reversal call. In crypto, price can keep grinding in the same direction through two or three rounds of divergence. Treat it as a reason to tighten risk or wait, rather than a reason to open a position against the trend. If you trade with leverage, know where your stop sits before you act on any oscillator, since the U.S. Securities and Exchange Commission’s investor site explains that a stop order becomes a market order once triggered and can fill at a worse price in a fast market.

Stochastic vs RSI and Other Tools

Both are momentum oscillators on a 0 to 100 scale, and they often agree. They are built differently, though, and that changes how they behave.

Stochastic oscillatorRSI
What it measuresClose relative to the recent high-low rangeAverage gains compared with average losses
Common zones80 and 2070 and 30
SpeedFaster, more signalsSmoother, fewer signals
Typical useTiming entries inside a trendGauging momentum strength and divergence

Our RSI guide goes deeper on that indicator. A common approach is to use one oscillator for timing and a different kind of tool for context. Bollinger Bands measure volatility rather than momentum, so a stochastic turn near a band edge gives you two independent readings instead of one repeated twice.

Common Mistakes With the Stochastic Oscillator

The stochastic oscillator earns its place as a timing aid. Use it to ask whether momentum agrees with the trade you already planned from trend and structure, and size positions so that one wrong read does not hurt.

Frequently asked questions

What are the default stochastic oscillator settings?

The most common setting is 14, 3, 3. That means %K looks back 14 periods, %K is smoothed over 3 periods, and %D is a 3-period average of the smoothed %K. Most charting platforms load this slow stochastic by default.

What is the difference between %K and %D?

%K is the main line and shows where the close sits in the recent range. %D is a moving average of %K, so it moves more slowly. Traders watch for %K crossing %D as a sign that short-term momentum is turning.

Is a reading above 80 a sell signal?

Not by itself. A reading above 80 only says the close is near the top of the recent range. In a strong uptrend that can stay true for many candles. Most traders wait for the line to drop back below 80, or for a break of nearby support, before treating it as a warning.

How is the stochastic oscillator different from RSI?

RSI compares the size of recent gains with recent losses. The stochastic compares the latest close with the recent high and low. Stochastic tends to react faster and give more signals, while RSI is smoother. Many traders use one as the main tool and the other as a cross-check.

What is stochastic divergence?

Divergence happens when price makes a new high or low but the stochastic does not. A higher price high with a lower stochastic high is bearish divergence, and the opposite is bullish divergence. It hints that momentum is fading, but it can persist for a while before price turns.

Which timeframe works best for the stochastic oscillator?

Use the timeframe that matches how long you plan to hold. On one-minute and five-minute crypto charts the line swings between extremes constantly. On four-hour and daily charts the signals are fewer and usually more meaningful.

Jake Morrow — Writes about compounding, trading and building income streams. Checks every number in a spreadsheet before publishing.