Indicators

Stochastic oscillator

3 min

The stochastic oscillator is a momentum tool built on one simple observation: in an uptrend, prices tend to close near the top of their recent range; in a downtrend, near the bottom.

How it is built

It locates the latest close within the high-low range of the last N periods, on a 0–100 scale:

  • The %K line is that raw position.
  • The %D line is a short moving average of %K — the smoother signal line.

How to read it

  • Above 80 — overbought; the close is near the top of the range.
  • Below 20 — oversold; the close is near the bottom.
  • %K crossing %D inside those zones is the classic trigger.
  • Divergence with price, as with RSI, warns of fading momentum.

RSI vs stochastic, and the limitation

RSI measures the size of recent moves; stochastic measures where the close sits in the range. Stochastic is faster and noisier, which makes it popular in ranging markets and prone to false signals in strong trends — where, like RSI, it can stay pinned in overbought or oversold for a long time. Use it for timing inside a range, not for fighting a trend.

Finished reading?
Risk disclaimer

This content is for educational and informational purposes only and is not investment, financial, tax or legal advice. Trading and investing carry risk, including the possible loss of capital. Any performance shown by third-party tools is hypothetical and not a promise of future results. Do your own research and consider professional advice before making any decision.