Technical analysis · Intermediate

The Stochastic Oscillator

The stochastic asks one question: where did the close land inside the recent range? That is useful in a range and misleading in a trend.

Last reviewed by the MarketPro research desk · Editorial policy

In short

The Stochastic Oscillator measures where the latest close sits inside the high-to-low range of the last N candles, usually 14, on a scale of 0 to 100. A reading of 80 means the close landed 80% of the way up that range. It plots two lines, %K and its short average %D. Because it ignores the size of moves and looks only at position, it reaches extremes often and can stay pinned there throughout a trend.

What to remember

  • The stochastic measures position in a range, not value. A reading of 90 in a 20 pip range and a 300 pip range look identical and mean very different things.
  • In a sustained trend the oscillator can sit above 80 for weeks. Every reading is correct and every reversal trade taken from it is wrong.
  • The slow version smooths %K before plotting it, which gives fewer and later signals. The fast version on a low timeframe will cross dozens of times a session.
  • Signal frequency is the real danger. A tool that fires ten times a day supplies ten reasons a day, and costs are charged on all of them.

The stochastic asks where the close sits inside the range

The Stochastic Oscillator answers one narrow question: over the last N candles, where did the most recent close land inside the high-to-low range? If the close is at the top of that range, the reading is near 100. At the bottom, near 0. With the standard 14-period setting, a reading of 80 means the current close sits 80% of the way up the last fourteen candles' range.

That is a different question from the one RSI asks. RSI compares the size of gains to the size of losses. The stochastic ignores size entirely and looks only at position within a range. The practical consequence is that the stochastic reacts faster and reaches extremes more often, because a single strong close can put it near 100 without much having happened.

Two lines, and the difference between fast and slow

The indicator plots %K, the raw position measure, and %D, a short moving average of %K, normally three periods. The fast stochastic plots raw %K and is genuinely noisy. The slow stochastic smooths %K before plotting it and smooths again for %D, which produces fewer and steadier signals at the cost of arriving later.

Most charting platforms default to the slow version for good reason. The fast stochastic on a 5-minute chart will cross its signal line dozens of times a session, and acting on those crossings is a reliable way to pay a lot of spread.

Reading 83 on a daily chart

Take a pair where the last fourteen daily candles produced a high of 1.1050 and a low of 1.0900, a 150 pip range. Today closes at 1.1025. The close sits 125 pips above the low, so the stochastic reads roughly 83. That is above the 80 line and technically overbought.

Now notice what that reading does not tell you. It does not say the market is expensive. It says today's close was near the top of a two-week range, which is what happens on any day a trend continues. If the range has been sliding upward for a month, the stochastic will have been printing overbought readings for that entire month while price climbed. This is the same trap as the RSI zones, and it catches people for the same reason.

10 more sections in MarketPro

Finish this lesson in MarketPro

The rest of The Stochastic Oscillator, a quiz that checks it landed, and your place kept in the curriculum.

  • 10 more sections of this lesson
  • All 320 lessons, with no cap and no paywall
  • Free on any account, including a free one
In your browserContinue on webor continue on web

Same account as the app · No install · Free to start

Or scan with your phone camera to get the MarketPro app.

Not investment advice. Past performance is not indicative of future results.

Run the numbers while this is fresh

Work it through on your own position size. Nothing leaves your browser and there is no sign-up: Pivot points calculator, Fibonacci calculator.

Written and reviewed by the MarketPro research desk

MarketPro is a trading-signal and trading-education app operated by Harajuku Holdings LTD (Cyprus). Our signal desk publishes and tracks every trade idea in-app, and every page here is checked against the app's live behaviour before publishing. Last reviewed . How we produce signals and content · About MarketPro

FAQ

The Stochastic Oscillator: questions

What is the difference between fast and slow stochastic?
The fast stochastic plots raw %K along with a three-period average as %D. The slow stochastic smooths %K first, then averages it again for %D, so both lines are one step further from the raw data. Slow settings produce fewer signals that arrive later, which is usually the better trade-off on lower timeframes where the fast version is close to unusable.
Is the stochastic better than RSI?
They answer different questions rather than the same question with different accuracy. RSI compares the size of recent gains to recent losses, while the stochastic ignores size and measures where the close sits inside the recent range. The stochastic reaches extremes more often as a result, which suits range trading and makes it noisier in trends.
What stochastic settings should you use?
The default 14, 3, 3 is the common starting point, and a shorter lookback such as 5 will sit at an extreme almost permanently while a longer one such as 21 rarely reaches one. Because the number of signals is driven mainly by the setting rather than by the market, changing it changes what an extreme means, so any rule built on 80 and 20 has to be retested if the period changes.
Trade · Learn · Earn

The whole academy is free in MarketPro

All 320 lessons, 12 guided paths, quizzes and a daily streak. Free on every account, in the app or your browser, with vetted free signals alongside it.

Same account as the app · No install · Free to start

Not investment advice. Past performance is not indicative of future results.