Skip to content

Glossary

What Is the Stochastic Oscillator? %K and %D

The stochastic oscillator measures where a candle's close sits within a recent high-low range, usually on a 0–100 scale. %K is the main calculation and %D is a smoothed signal line. A high reading means the close is near the top of the range, not that the market must fall.

The basic formula

Raw %K = 100 × (close − lowest low) ÷ (highest high − lowest low) over the chosen lookback. %D is an average of %K; slow variants smooth %K first.

If the range is ₹100–₹120 and the close is ₹116, raw %K is 80. That does not mean there is an 80% chance of a fall.

When the high and low are identical, the formula has a zero denominator. Implementations need an explicit missing-value or flat-range convention.

How to interpret a crossover

A %K cross above %D shows a change in relative short-term momentum under that smoothing method. It does not specify position size, stop distance, exit timing or whether the broader market favours the setup.

In a strong uptrend, stochastic can stay above 80 for many candles. Selling solely because it is “overbought” confuses momentum with inevitable reversal.

Compare like with like

Record the range length, %K smoothing, %D smoothing and timeframe. Daily and five-minute readings are not interchangeable. Compare with RSI to understand the different calculation rather than assuming two oscillators provide independent confirmation.

Limitations

  • Fast and slow variants have different smoothing.
  • Repeated crosses in a strong trend can produce premature reversal signals.

Frequently asked questions

What do stochastic 80 and 20 mean?
They are common overbought and oversold reference levels. They describe location in a range and are not probabilities of reversal.
Is stochastic the same as RSI?
No. Stochastic compares the close with a recent high-low range, while RSI compares smoothed upward and downward price changes.
What does 14,3,3 mean?
A common slow-stochastic convention uses a 14-bar range, three-period smoothing of raw %K and a three-period average for %D. Confirm the platform's convention.

Last updated: