Stochastic Oscillator: How to Read %K and %D

Updated November 2026 · 4 min read

The stochastic oscillator answers a simple question: where did today's close land within the recent trading range? If a stock closes near the top of its two-week range, the stochastic reading is high. If it closes near the bottom, the reading is low. It is plotted on a scale from 0 to 100, like RSI, but it measures something slightly different.

The indicator is generally credited to George Lane, who popularized it in the 1950s. The idea behind it is that in uptrends, prices tend to close near their highs, and in downtrends, near their lows.

The two lines: %K and %D

How it is calculated

%K = (Close - Lowest low) / (Highest high - Lowest low) x 100
%D = 3-period average of %K

The lookback period is usually 14. Lowest low means the lowest intraday low over the last 14 periods, and highest high means the highest intraday high.

Worked example

Over the last 14 days, a stock's highest high was $60 and its lowest low was $50. Today it closes at $58.

The stock closed 80% of the way up its two-week range.

Suppose the last three %K readings were 72, 76 and 80. Then:

%K is above %D, which tells you the close-within-range reading has been rising.

Now the next day, the stock closes at $55 and the range stays the same. %K = (55 − 50) / 10 × 100 = 50. A $3 drop moved stochastic from 80 to 50. That sensitivity is the stochastic's defining trait. It reacts far faster than RSI to a single day's move.

Fast vs slow stochastic

You will see two versions:

Most traders use the slow version because the fast one changes direction too often to be practical.

How to read the stochastic

Reading Label Meaning
Above 80 Overbought Close near the top of the recent range
20 to 80 Neutral Close in the middle of the range
Below 20 Oversold Close near the bottom of the recent range

Note the levels are 80 and 20, not RSI's 70 and 30, because stochastic reaches extremes more easily.

Crossovers

When %K crosses above %D, momentum within the range is turning up. When it crosses below, momentum is turning down. Crossovers that happen in the extreme zones get the most attention: a bullish cross below 20 or a bearish cross above 80.

Divergence

Like other oscillators, stochastic can diverge from price. If price makes a lower low but stochastic makes a higher low, selling momentum is fading. See RSI divergence for how to spot and confirm divergence in general.

How traders use it

In ranges

Stochastic is most at home in sideways markets, where price really does tend to bounce between highs and lows. A mean reversion approach might be:

  1. Confirm a range with flat moving averages.
  2. Wait for stochastic to drop below 20 near support.
  3. Enter when %K crosses back above %D and rises out of the oversold zone.
  4. Stop below support; target the top of the range.

In trends

In trending markets, using stochastic for reversals is risky. Instead, trend traders flip the logic: in an uptrend, they treat a dip in stochastic toward 20 as a pullback and look for the bullish cross back up as a possible entry in the direction of the trend. They ignore overbought readings entirely, because those are normal in a strong uptrend.

Common mistakes

Selling every reading above 80. A stock that keeps closing near its highs will keep stochastic above 80. That is a sign of strength.

Using the fast version. The raw %K flips so often that it creates far more signals than anyone can sensibly trade.

Forgetting that range matters. If the 14-day range is very narrow, a tiny price change can swing stochastic from 20 to 80. Check the actual dollar range.

Ignoring the trend. As with all oscillators, the trend decides which signals are worth taking.

Limitations

Stochastic is fast and therefore noisy. It ignores volume. It can stay at extremes for long stretches in trends. And because it depends on the high-low range, a single unusual spike can distort readings for the whole 14-day lookback until that day drops out.

How it fits with other indicators

Stochastic and RSI are both momentum oscillators, so using both rarely adds much. Many traders pick one. Stochastic tends to suit short-term range trading, while RSI is often preferred for broader swing analysis. Williams %R is closely related to stochastic; it is essentially the same calculation inverted onto a 0 to −100 scale.

Stupid Simple Trader's signal does not use stochastic. Its momentum input is a 14-period RSI, explained in what is RSI, alongside MACD.

Try it

Look at a stock on the oversold stocks screen and check where it closed within its recent two-week range. You will often find stochastic and RSI telling a similar story, with stochastic reaching its extremes first.

Frequently asked questions

What are the best stochastic settings?

The common default is 14, 3, 3: a 14-period lookback, a 3-period smoothing of %K and a 3-period %D signal line. Shorter lookbacks such as 5 make it faster and noisier. There is no universally best setting; the default is a sensible place to start.

What is the difference between stochastic and RSI?

RSI compares the size of recent gains with recent losses. The stochastic compares the latest close with the highest high and lowest low over the lookback period. Stochastic tends to move faster and reach extremes more often, while RSI is smoother.

What does it mean when stochastic is above 80?

It means the latest close is in the top 20% of the price range over the lookback period. That is labeled overbought, but in strong uptrends stochastic can stay above 80 for a long time, so it is a description of strength rather than a sell signal.