StructureX

Home › Glossary

What is the stochastic oscillator?

In one line: The stochastic oscillator is a 0–100 line showing where the latest close sits inside the high-to-low range of recent candles, usually the last 14.

Trading glossary · Updated 2026-10-21

A simple example

The stochastic asks one question: did price close near the top or the bottom of its recent range?

Over the last 14 candles, the highest high was 60 and the lowest low was 50. The latest close is 58.

The math: (58 − 50) ÷ (60 − 50) × 100 = 8 ÷ 10 × 100 = 80.

A reading of 80 means price closed 80% of the way up the range. A reading of 10 would mean it closed near the bottom.

The two lines

When %K crosses above %D, some traders read it as rising pressure. Below, falling pressure.

Why it matters

The common zones are above 80 ("overbought") and below 20 ("oversold"). See Overbought and oversold.

The stochastic reacts faster than RSI, so it can flag a slowing move a bit sooner. The trade-off is more false alarms. We put the two side by side in RSI vs stochastic.

A common mistake

Treating 80 as "sell" and 20 as "buy." In a strong uptrend, closes keep landing near the top of the range, so the stochastic can sit above 80 for a long time.

A better way to use it: find the trend on the bigger chart first. In an uptrend, a dip below 20 during a Pullback is worth watching. A reading above 80 is mostly just the trend working.

The stochastic tells you where price closed in its range. Where that range sits on the chart matters more.

Questions

What is the best stochastic setting?

14, 3, 3 is the common default: 14 candles for the range, then 3-candle smoothing on both lines. Shorter settings are jumpier.

What's the difference between fast and slow stochastic?

The slow version adds extra smoothing to %K, so it gives fewer, later signals. Most platforms show the slow one by default.

Is the stochastic a leading indicator?

It's built only from past prices, so it describes what already happened. It can show a move slowing, but it doesn't predict the next one.

Want the next step? We'll walk you through it.

Four free lessons by email, one every few days — each with a 10-minute exercise on a real chart.

Send Me the Free Lessons 4 short emails · No spam · Unsubscribe anytime

Or see the whole method, step by step:

See What’s Inside the Course Try everything free first. Decide when you're ready. · Open the free chart tool (works in the TradingView phone app)

One chart idea a day, in plain English. Follow along:

Follow on XFollow on TradingView