Trading term

What is Stochastic oscillator?

The stochastic oscillator is a momentum indicator that measures where the current close sits within its recent high-low range, on a 0–100 scale. Readings above 80 are considered overbought and below 20 oversold. It's especially suited to range-bound markets.

Developed by George Lane, the stochastic is built on a simple insight: in an uptrend, closes tend to cluster near the top of the recent range; in a downtrend, near the bottom. It plots two lines — the fast %K and a smoothed %D (its moving average) — that oscillate between 0 and 100. When %K crosses %D inside an extreme zone, momentum may be turning.

The classic signals are the 80 and 20 lines: above 80 the market is overbought, below 20 oversold, and a %K/%D crossover in those zones flags a possible reversal. Like RSI, it also shows divergence. The stochastic shines in ranging markets, where price rotates between support and resistance; in a strong trend it can pin in overbought or oversold territory and give repeated false signals.

The stochastic oscillator
PRICE (ranging)STOCHASTIC80 · overbought20 · oversold%K crosses %D%K%D

The stochastic drops below 20 into oversold, then %K (blue) crosses up through %D (amber) — a classic signal in a ranging market that price may bounce.

For example

In a sideways market, a stock's stochastic drops below 20 (oversold) and the %K line crosses up through %D — a signal price may bounce from support back toward the top of its range.

Go hands-on in Premium

That's Stochastic oscillator in theory — it clicks when you read it on a live chart. Practise it hands-on in the TradeWize Premium Technical Analysis track.

Explore Premium →

Why it matters to you

The stochastic is one of the best tools for range-bound markets, where trend indicators fail — it times the rotations between support and resistance. Its close-within-range logic gives an early read on momentum shifts, often turning before price does, which is why it's a staple oscillator alongside RSI.

It pins in a strong trend

The stochastic's weakness is the mirror of its strength: in a powerful trend it can stay overbought (or oversold) for a long time, firing crossover after crossover that all fail. Using it to fade a strong trend is a classic way to get run over. It's a range tool — confirm you're not in a runaway trend first.

Frequently asked questions

What's the difference between the stochastic oscillator and RSI?

Both are 0–100 momentum oscillators, but they measure different things. RSI compares the size of recent gains to losses; the stochastic measures where the close sits within the recent high-low range. The stochastic is generally faster and better suited to ranging markets; RSI is smoother.

What do %K and %D mean?

%K is the main, faster stochastic line, measuring where the close sits in the recent range. %D is a moving average of %K — the slower 'signal' line. A crossover of %K through %D, especially in the overbought or oversold zone, is the classic stochastic signal.

What are overbought and oversold on the stochastic?

Readings above 80 are overbought (the close is near the top of its recent range); below 20 are oversold (near the bottom). These flag stretched conditions, but in a strong trend the stochastic can stay pinned in a zone, so they work best in ranging markets.

What are the best stochastic settings?

A common default is 14 periods for %K with a 3-period %D (often written 14, 3, 3). Faster settings give more signals and more noise; slower settings smooth it out. The 'full' stochastic adds an extra smoothing factor for more control.

Related terms

← Back to the full glossary