Indicators

What Is the Stochastic Oscillator? Momentum Between 0 and 100

The stochastic oscillator measures where price closes within its recent range. Learn the %K and %D lines, the 80/20 levels, and why it's not an automatic signal.

ForexPartnerHub Team·July 13, 2026·3 min read

The stochastic oscillator is one of the classic momentum indicators, developed by George Lane in the 1950s. Its idea is simple and clever: instead of asking how fast price is moving, it asks where price closed within its recent range — a subtle question that reveals a lot about momentum.

The core idea

The stochastic is built on a single observation Lane emphasised: in an uptrend, prices tend to close near the top of their recent range; in a downtrend, they tend to close near the bottom.

So the stochastic measures the position of the current close relative to the high-low range over a set number of periods (commonly 14). The result is plotted between 0 and 100.

The two lines

The indicator has two lines that work together:

  • %K — the main line, showing where price sits in its recent range.
  • %D — a moving average of %K, acting as a smoother signal line.

When these two lines cross, traders read it as a momentum signal, much like a MACD crossover.

The 80/20 levels

The stochastic uses two key thresholds:

  • Above 80 is considered overbought — price is closing near the top of its range.
  • Below 20 is considered oversold — price is closing near the bottom.

These work similarly to the RSI's 70/30 zones. If you're familiar with our RSI overbought and oversold guide, the logic will feel familiar — both are momentum oscillators bounded between 0 and 100.

The classic mistake

Here's the trap, and it's the same one that catches RSI beginners: overbought is not a sell signal, and oversold is not a buy signal. In a strong trend, the stochastic can stay pinned above 80 (or below 20) for a long time while price keeps trending. Selling every time it crosses 80 in a strong uptrend is a fast way to lose money.

Warning

"Overbought" doesn't mean "about to fall." In a powerful trend, the stochastic can stay stretched for a long time. Treat 80/20 as alerts to pay attention, not automatic triggers.

Using the stochastic sensibly

The stochastic works best as a confirmation tool inside a broader plan:

  • Trade with the trend. Favour oversold signals in uptrends and overbought signals in downtrends, rather than fighting direction.
  • Use crossovers for timing, not as standalone triggers.
  • Watch for divergence — when price and the stochastic disagree, momentum may be weakening.
  • Always confirm with price action and protect the trade with a stop loss.

Risk

An oscillator crossing a level is not a trade plan. Confirm with the trend and price structure, and never trade the stochastic in isolation.

See momentum in motion

The stochastic makes far more sense when you watch %K and %D move on a live chart. A regulated broker with a free demo lets you study it before risking money.

Pepperstone logo

Pepperstone

Best for Copy Trading

Visit Pepperstone

Trading Forex and CFDs involves a significant risk of loss.

Educational content only, not financial advice. Trading forex carries a high level of risk. Read our full affiliate disclosure.

Get forex insights weekly

New guides, market analysis and broker updates — straight to your inbox. No spam.

Risk

Forex and CFD trading involves significant risk of loss and is not suitable for all investors. Leverage can work against you. This content is educational and not financial advice — always do your own research.