تخطَّ إلى المحتوى الرئيسي

Stochastic Oscillator

Intermediate

المذبذب العشوائي

Also known as: Stochastic, Stochastics

Technical Analysis
Last updated

Definition reviewed before publishing

Our content team writes and reviews every definition before it is published, and revisits it when the way a term is used in the markets changes. The date shows the latest change to this term.

Last updated on 25 November 2026

The stochastic oscillator is a momentum indicator that compares the current closing price with the price range over a set number of periods, usually 14, and moves between zero and 100. It was developed by George Lane in the 1950s. It rests on the observation that in an uptrend prices tend to close near the top of their range, and in a downtrend near the bottom.

Quick summary

• Compares the close with the recent price range. • Two lines, %K and %D, between zero and 100. • Above 80 overbought, below 20 oversold.

How it works

The indicator has two lines: %K, which shows where the current close sits within the range between the highest high and lowest low over the period, and %D, a simple moving average of %K, usually over three periods, which acts as a signal line. A value of 90 means the price closed near the top of its recent range, and 10 means near the bottom. Readings above 80 are traditionally overbought and below 20 oversold. Among the best-known signals: %K crossing above %D in oversold territory, seen as a possible bullish signal, and crossing below it in overbought territory, seen as a possible bearish signal. Analysts also use divergence between the indicator and price. There are two versions: the fast stochastic, which is highly sensitive and gives many signals, and the slow stochastic, which adds extra smoothing and is the most widely used today. The indicator is most useful in sideways markets, while it stays in overbought or oversold zones for long periods during strong trends.

Example

Over the last 14 days, a stock's high is 60 riyals and its low 40, and it closes today at 57. %K = (57 - 40) ÷ (60 - 40) × 100 = 85, an overbought reading. If %K crosses below %D while above 80, some traders see it as a caution signal.

Where you will see it

Below the chart in trading platforms, in technical analysis reports, and in short-term range-trading strategies for currencies and stocks.

Why it matters

It helps locate the price within its recent range and spot overbought and oversold zones and possible turning points, especially in sideways markets.

How it is calculated

%K = (current close - lowest low over 14 periods) ÷ (highest high over 14 periods - lowest low over 14 periods) × 100. %D = 3-period simple moving average of %K.

How it differs from similar terms

• RSI: compares gains with losses, while the stochastic compares the close with the range. • Stochastic RSI: applies the stochastic formula to RSI values instead of price. • Williams %R: very similar to the stochastic but inverted, moving between zero and minus 100.

Common mistakes

Selling just because it exceeds 80 in a strong uptrend, or trading every crossover on the fast version. Relate the signal to the trend and wait for price confirmation.

Related terms