What is Stochastic Oscillator?
The stochastic oscillator shows where the latest close sits within the high-low range of the last 14 periods, on a scale of 0 to 100. %K = (close - lowest low) / (highest high - lowest low) x 100, and %D is a 3-period average of %K.
Also called: stochastic, stochastic indicator, stochastics, stochastic 14 3
Stochastic oscillator (14, 3) of NIFTY futures
%K is 98.6 and %D 89.9: NIFTY futures closed 99% of the way up their 14-day high-low range - in the overbought zone. %K last crossed above %D on 25 Nov 2026.
| Session | Close | %K (14) | %D (3) |
|---|---|---|---|
| 25 Nov | 26,074.90 | 98.6 | 89.9 |
| 23 Nov | 25,369.50 | 72.6 | 90.0 |
| 20 Nov | 25,775.30 | 98.5 | 95.1 |
| 19 Nov | 25,533.00 | 98.8 | 94.0 |
| 18 Nov | 25,239.30 | 88.0 | 92.4 |
| 17 Nov | 25,415.30 | 95.2 | 93.0 |
%K = (close − 14-day low) ÷ (14-day high − 14-day low) × 100; %D = 3-day average of %K. 80 and 20 mark overbought and oversold.
NIFTY futures chart →How it works
George Lane popularised the stochastic oscillator in the 1950s. %K(14) compares today's close with the lowest low and the highest high of the last 14 periods. A close at the very top of that range gives 100; at the very bottom, 0; exactly in the middle, 50. %D is the 3-period simple average of %K, a smoother line that turns more slowly.
By convention, readings above 80 are called overbought and below 20 oversold. A cross happens when %K moves above or below %D. Unlike RSI, which compares the size of gains and losses, stochastic only asks where the close sits within the recent range. That makes it quick to react, and also noisy. Many charts offer a slow version that smooths %K once more before computing %D; the version described here uses %K(14) and %D(3).
Worked example. suppose over the last 14 days NIFTY futures had a lowest low of 23,600 and a highest high of 24,400, a range of 800 points. If today's close is 24,280, %K = (24,280 - 23,600) / 800 x 100 = 680 / 800 x 100 = 85. If %K was 78 and 82 on the previous two days, %D = (78 + 82 + 85) / 3 = 245 / 3 = 81.7. Both lines are above 80, the conventional overbought zone.
Reading today's live example
The live example above computes %K(14) and %D(3) on NIFTY futures daily candles, marks the 80 overbought and 20 oversold lines, and shows the date of the last cross between %K and %D, with a chart. Check the zone first: above 80, NIFTY futures closed near the top of their 14-day range; below 20, near the bottom; in between, somewhere in the middle. Then see which line is on top. %K above %D means closes have been moving higher within the range lately; below, lower. The last cross date tells you how fresh that turn is.
How traders use it
Range traders watch for %K turning down from above 80 or up from below 20, often waiting for the cross of %D as confirmation. Trend traders read it differently: in a strong up-trend stochastic can stay above 80 for many sessions, and a dip toward 20 that turns back up may be read as a pullback ending. Some look for divergence between price and stochastic, as with RSI. Option traders apply it to NIFTY futures or the index rather than to premiums. Stochastic is a tool, not a signal.
Common mistakes
Treating 80 as a sell signal and 20 as a buy signal is the classic error; in trends, readings can stay extreme for long periods. The indicator is very sensitive, so on short intraday candles it crosses constantly. When the 14-day range is very narrow, a small move can swing %K from one extreme to the other. Reading it without the trend, support and resistance, or the wider market adds little.
Frequently asked questions
What is the stochastic oscillator in simple words?
It is a number from 0 to 100 that shows where today's close sits in the recent price range. Near 100 means the close is near the top of the last 14 days' range; near 0 means near the bottom.
What is the difference between %K and %D?
%K is the main line: the close's position in the 14-period range. %D is a 3-period average of %K, so it moves more smoothly and turns later. Crosses between them are watched as changes in momentum.
Is stochastic better than RSI?
Neither is better in general. Stochastic measures the close's position in a range and reacts quickly; RSI compares average gains and losses and is smoother. They often describe similar momentum, so many traders use one or the other.
What do 80 and 20 mean in stochastic?
They are the conventional overbought and oversold lines. Above 80 means closes are near the top of the recent range; below 20, near the bottom. They do not mean a reversal is due.
Related terms
Go deeper
For education only; not investment advice. Live figures from NSE via Quantsapp. Derivatives trading carries substantial risk. Disclaimer