Trade Gold with Exness — Lower your gold trading costs
Technical Analysis

Stochastic Oscillator Explained: %K, %D and How to Trade It

The stochastic oscillator shows where price closed within its recent range. Learn how %K and %D work, what overbought and oversold mean, how crossovers and divergence are used, and when stochastic signals fail.

The stochastic oscillator is a momentum indicator developed by George Lane in the 1950s. Its idea is simple and clever: in a rising market, prices tend to close near the top of their recent range; in a falling market, near the bottom. Stochastic measures exactly that.

How Stochastic Is Calculated

The common "full" or "slow" stochastic uses settings like 14, 3, 3:

  • %K = where the latest close sits within the high–low range of the last 14 candles, on a 0–100 scale.
    • A close at the very top of the range = 100.
    • A close at the very bottom = 0.
    • In the slow version, %K is smoothed with a 3-period average.
  • %D = a 3-period moving average of %K. It acts as a signal line.

Reading the Stochastic

  • Above 80: overbought — price is closing near the top of its recent range.
  • Below 20: oversold — price is closing near the bottom.
  • %K crossing above %D: short-term momentum turning up.
  • %K crossing below %D: short-term momentum turning down.

As with RSI, "overbought" is not a sell signal by itself. In a strong uptrend, stochastic can stay above 80 for long stretches because price keeps closing near its highs.

Three Ways Traders Use Stochastic

1. Pullback Entries in a Trend

This is often the most useful approach:

  1. Identify the trend on a higher timeframe.
  2. In an uptrend, wait for stochastic to dip below 20 (a pullback).
  3. Enter when %K crosses back above %D and price shows a bullish candle at support.

You're using stochastic to time pullbacks in the trend's direction, not to call tops.

2. Range Trading

In a sideways market, overbought/oversold readings at the edges of the range can signal turns:

  • Stochastic above 80 at resistance + bearish crossover → possible short.
  • Stochastic below 20 at support + bullish crossover → possible long.

3. Divergence

  • Bullish divergence: price makes a lower low, stochastic makes a higher low.
  • Bearish divergence: price makes a higher high, stochastic makes a lower high.

Treat divergence as a warning and wait for price to confirm — for example with a break of structure or a reversal candle like an evening star.

Fast vs Slow Stochastic

  • Fast stochastic uses raw %K. It reacts quickly but produces many false signals.
  • Slow stochastic smooths %K first. It's the default on most platforms and the better choice for most traders.

Stochastic vs RSI

Both are momentum oscillators on a 0–100 scale, but they measure different things:

  • RSI compares the size of recent gains to recent losses.
  • Stochastic compares the latest close to the recent high–low range.

Stochastic tends to be faster and more sensitive, which makes it popular for short-term timing — and noisier in trends. There's little point in using both at once.

Common Mistakes

  1. Selling at 80 and buying at 20 in a trending market.
  2. Trading every %K/%D crossover, many of which happen in the middle of the scale and mean little.
  3. Ignoring price structure. A stochastic signal at a clear support or resistance level is worth far more than one in empty space. See support and resistance basics.
  4. Using very short settings that turn the indicator into noise.

Key Takeaways

  • Stochastic shows where the close sits within the recent range, on a 0–100 scale.
  • %K is the main line; %D is its moving average signal line.
  • Above 80 = overbought, below 20 = oversold — descriptions of strength, not reversal signals.
  • Best uses: timing pullbacks in a trend, trading range edges, and spotting divergence — always with price confirmation.

This article is for education only and is not financial advice.

Take this lesson to the chart

Put the idea into practice on real market charts with instant feedback — free, no sign-up needed.

Practice chart reading →
Exness — Take control of your money. Get started.