StockChatAI

Stochastic Oscillator: Meaning, Formula, Example and How to Read It

The Stochastic Oscillator shows where today's close sits within the range of the last 14 sessions, on a scale from 0 to 100. A close near the top of the range gives a high reading; a close near the bottom gives a low one. It has two lines: %K, the main reading, and %D, a 3-day average of %K.

Short video lesson in English (1:07), with captions.

Try /stochastic in StockChat
Instant commands are free, on Android and the web.

How it is calculated

%K = (close − 14-day low) ÷ (14-day high − 14-day low) × 100. If the close equals the 14-day high, %K is 100; if it equals the low, %K is 0. %D is simply the 3-day average of %K, which smooths it and is drawn as a second line.

Formula%K = (close − 14-day low) ÷ (14-day high − 14-day low) × 100; %D = 3-day average of %K

Overbought and oversold

Readings above 80 are usually called overbought and below 20 oversold. Like RSI, these only describe where the close sits in the recent range. In strong trends the oscillator can stay above 80 or below 20 for a long time.

Crosses of %K and %D

Crosses of %K above or below %D are watched as momentum shifts, especially when they happen in the overbought or oversold zones. Because the lines are fast, crosses are frequent, and many are just noise.

Common mistakes

Treating 80 as an automatic sell signal or 20 as an automatic buy signal is the most common mistake. Ignoring the trend is another. It describes where price closed in the past 14 sessions, not the future.

Example

Say an example stock closes near the top of its 14-day range, and %K rises above 80, to 95: overbought. Then it falls, closing near the bottom of its range, and %K drops below 20, to 4: oversold. %D follows as a 3-day average. For the formula: with a 14-day low of ₹90, a high of ₹110 and a close of ₹105, %K = (105 − 90) ÷ (110 − 90) × 100 = 75. It describes the past, not the future; it is a guide, not a forecast.

Frequently asked questions

What is the Stochastic Oscillator?

The Stochastic Oscillator shows where today's close sits between the 14-day low and high on a 0-100 scale (%K), with %D as its 3-day average.

How is the Stochastic Oscillator calculated?

%K = (close − 14-day low) ÷ (14-day high − 14-day low) × 100; %D = 3-day average of %K. With a low of ₹90, a high of ₹110 and a close of ₹105, %K = 75.

Is the Stochastic Oscillator a buy or sell signal?

No. StockChat explains what the Stochastic Oscillator means in past data; it is education, not a recommendation. StockChat is not registered with SEBI as an investment adviser or research analyst.

How can I check the Stochastic Oscillator on a stock?

Type /stochastic in the chat of any stock in StockChat. It reads the past data and shows the Stochastic Oscillator for it, as education, not a recommendation.