EquitiesIndia.com
Technical AnalysisStochastic%K %D

Stochastic Oscillator

The Stochastic Oscillator is a momentum indicator developed by George Lane that compares a security's closing price to its price range over a given look-back period, producing values between 0 and 100 that signal overbought and oversold conditions.

Formula
%K = (Close − Lowest Low(N)) ÷ (Highest High(N) − Lowest Low(N)) × 100

George Lane developed the Stochastic Oscillator in the late 1950s based on the observation that as prices rise, closing prices tend to cluster near the upper end of the recent range, and as prices fall, closes tend to settle near the lower end. The indicator formalised this tendency by measuring where the current close sat within the high-low range of a specified look-back window, typically 14 periods.

The fast %K line was calculated as: %K = (Current Close − Lowest Low over N periods) ÷ (Highest High over N periods − Lowest Low over N periods) × 100. The %D line, a three-period simple moving average of %K, served as a signal line. The full stochastic, a smoother version, used a three-period SMA of %K as the new %K and then smoothed that again for %D. Readings above 80 were traditionally interpreted as overbought conditions; readings below 20 as oversold.

In Indian equity markets, the Stochastic was widely used on daily charts of Nifty 50, sectoral indices, and individual large-cap and mid-cap stocks. The most common signals were: crossovers of %K above %D in oversold territory (seen as potentially bullish), crossovers of %K below %D in overbought territory (seen as potentially bearish), and divergences between the oscillator and price, where price made new highs but the Stochastic failed to confirm, suggesting weakening momentum.

A key refinement adopted by many Indian technical analysts was the concept of stochastic divergence on weekly charts of Nifty Bank prior to major reversals. When the index printed a new multi-week high but the weekly Stochastic registered a lower peak than during the prior rally, it flagged waning momentum even as the index appeared strong. This divergence approach required patience and multi-timeframe perspective, which is why it was more common among swing traders and positional traders than pure intraday operators.

The Stochastic's primary limitation in trending markets was well understood: a stock in a powerful uptrend could remain overbought (above 80) for extended periods, and mechanically acting on an overbought reading in a strong trend proved costly. Practitioners therefore used the indicator primarily in sideways or range-bound markets, or combined it with trend filters such as moving averages or the ADX to ensure they were applying a mean-reversion tool only in appropriate market conditions.

Learn more on EquitiesIndia.com

Educational only. This glossary entry is for informational purposes and does not constitute investment, tax, or legal guidance. Please consult a SEBI-registered adviser before making any investment decision.