Install the Pullback app on your phone

Stochastic Oscillator

The Stochastic Oscillator compares the close to the high-low range, usually over 14 periods. %K is that reading; %D is a 3-period SMA of %K. Levels at 80 and 20 are common, but the oscillator can stay overbought in a strong trend.

On this page
  1. How It Is Calculated
  2. A Simple Example
  3. Practical Point
Stochastic Oscillator

The Stochastic Oscillator measures where the close sits inside the recent high-low range. It is plotted from 0 to 100. The usual lookback is 14 periods. Readings above 80 are often called overbought, and readings below 20 are often called oversold. Those labels describe location in the range, not a forecast that price must reverse.

How It Is Calculated

%K is (close minus the lowest low) divided by (the highest high minus the lowest low), then multiplied by 100, using the high-low range of the last 14 periods. %D is a 3-period simple moving average of %K. Many platforms also smooth %K itself; that slower version is often called Slow Stochastic.

A Simple Example

If the lowest low of the last 14 periods is 1.0900, the highest high is 1.1100, and the close is 1.1050, then %K is (1.1050 − 1.0900) ÷ (1.1100 − 1.0900) × 100. That is 0.0150 ÷ 0.0200 × 100, which equals 75.

Practical Point

A common mistake is to treat a reading above 80 as an automatic short, or a reading below 20 as an automatic long. In a strong trend the oscillator can stay overbought or oversold for an extended run. A %K and %D crossover is more useful when it lines up with the higher-timeframe trend, such as a dip and a cross back up while that trend is still rising, than when it is used to fade every move into the 80 or 20 zone.

Updated Nov 27, 2026

More in Indicators and Oscillators

Indicators and Oscillators

What Are Indicators?

Indicators are calculations based on price or volume that are plotted on or below the chart. They highlight conditions such as trend, momentum or volatility.

Indicators and Oscillators

Moving Averages

A moving average smooths price over a chosen period. It is used to identify trend direction and dynamic support or resistance.

Indicators and Oscillators

RSI

RSI (Relative Strength Index) is a momentum oscillator that measures the speed and magnitude of recent price changes. It ranges from 0 to 100.

Indicators and Oscillators

MACD

MACD (Moving Average Convergence Divergence) shows the relationship between two moving averages. It is used to identify changes in momentum and trend strength.

Indicators and Oscillators

ATR (Average True Range)

Average True Range (ATR) measures volatility, not direction. It averages true range, usually over 14 periods, and is often used to set a stop distance that reflects recent typical movement.

Indicators and Oscillators

Fibonacci Retracement

Fibonacci retracement plots horizontal levels across a price swing to mark possible pullback areas. In an uptrend it is drawn from swing low to swing high. The usual levels are 23.6%, 38.2%, 50%, 61.8% and 78.6%; 50% is the midpoint, not a Fibonacci ratio.

Indicators and Oscillators

Fibonacci Extension

A Fibonacci extension is a three-point tool that projects possible targets beyond a completed swing, after a pullback. Levels such as 100%, 127.2% and 161.8% are measured from point C. Traders watch 100% and 161.8% most often, especially when price is making new highs and there is no prior history.

Indicators and Oscillators

Bollinger Bands

Bollinger Bands are a volatility overlay around a moving average. The middle band is usually a 20-period SMA; the upper and lower bands sit two standard deviations above and below it. The bands widen when volatility rises and narrow in quiet markets, a tightening often called a squeeze.