What is the stochastic oscillator and how do you read it?
The stochastic oscillator is a momentum indicator that shows where the latest closing price sits within its recent high-low range, on a scale of 0 to 100. A reading above 80 means price is closing near the top of its range (traditionally "overbought"), and below 20 near the bottom ("oversold"). It is drawn as two lines, %K and its average %D, usually with settings of 14 and 3.
This page is educational only and is not financial advice or a recommendation to buy or sell anything. Trading can lose you money.
Key takeaways
- %K = (latest close - lowest low) / (highest high - lowest low) x 100, over a look-back period, usually 14 bars.
- %D is a 3-period simple moving average of %K and acts as a signal line.
- Overbought is not automatically bearish: StockCharts notes a market can stay above 80 throughout a strong uptrend.
- Divergences, where price and the oscillator disagree, can warn of weakening momentum but need confirmation.
- Fidelity says stochastics are "most effective in broad trading ranges or slow moving trends".
What the stochastic oscillator measures
StockCharts' Arthur Hill puts it simply in a ChartSchool mailbag article: %K "measures the current price level versus the high-low range over a given look-back period, typically 14 days." In other words, it answers one question: is today's close near the top, bottom or middle of the recent range?
| Reading | What it means | Common label |
|---|---|---|
| 80-100 | Close is near the top of the recent range | Overbought |
| 40-60 | Close is near the middle of the range | Neutral |
| 0-20 | Close is near the bottom of the range | Oversold |
Upload a chart screenshot: trend, key levels, patterns and scenarios explained. Educational, not financial advice.
The formula
StockCharts' ChartSchool gives:
- %K = (Current Close - Lowest Low) / (Highest High - Lowest Low) x 100
- %D = 3-period simple moving average of %K
The default is (14,3). There are three common versions:
| Version | How %K is built | Typical setting | Character |
|---|---|---|---|
| Fast | Raw %K | 14,3 | Very choppy |
| Slow | %K smoothed with a 3-period average | 14,3 | Smoother, fewer signals |
| Full | You choose look-back, %K smoothing and %D period | 14,3,3 | Flexible |
Most charting platforms default to the slow or full version because the fast line jumps around a lot.
How traders read it
Fidelity's indicator guide describes three common ways the indicator is used:
- Levels: a move above 80 that then crosses back below 80 is treated as a possible bearish signal; a move below 20 that crosses back above 20 as a possible bullish one.
- Crossovers: in the overbought zone, %K crossing below %D; in the oversold zone, %K crossing above %D.
- Divergence: price makes a lower low while the oscillator makes a higher low (bullish divergence), or price makes a higher high while the oscillator makes a lower high (bearish divergence).
George Lane, who popularised the indicator, said that "as a rule, the momentum changes direction before price", which is why divergences get attention. StockCharts adds that a divergence should be confirmed, for example by the oscillator crossing its 50 centre line or by a break of price support or resistance.
Example: calculating a reading
Example: over the last 14 daily bars, a stock's highest high is 52.00 and its lowest low is 44.00. Today it closes at 50.40.
- Range: 52.00 - 44.00 = 8.00
- Close above the low: 50.40 - 44.00 = 6.40
- %K = 6.40 / 8.00 x 100 = 80
The close is 80% of the way up its two-week range, right at the overbought line. If the previous two %K readings were 74 and 77, the 3-day %D would be (74 + 77 + 80) / 3 = 77.
How a learner might read this: momentum is strong and %K is above %D. That alone isn't a reason to expect a fall. A more cautious reading would wait to see whether %K turns down and crosses below %D and back under 80, and whether price also breaks a nearby support level, before concluding momentum is fading. That is a scenario to watch, not a trade call.
The big trap: overbought in a strong trend
StockCharts warns that "overbought readings are not necessarily bearish": a stock can stay overbought for weeks in a strong uptrend, and stay oversold during a strong downtrend. Arthur Hill's mailbag example showed a fund whose %K stayed above 80 for more than a week, which he read as a sign of continued strength, not weakness.
That's why it helps to know the trend first. Our explainer on what market structure is in trading shows how to tell trending from ranging markets, and our guide to RSI covers a related momentum indicator.
| Market condition | How stochastics tend to behave | How to use them |
|---|---|---|
| Sideways range | Swings between 20 and 80 | Levels and crossovers are more meaningful |
| Strong uptrend | Spends long periods above 80 | Dips towards 20-50 may matter more than "overbought" |
| Strong downtrend | Spends long periods below 20 | Rallies towards 50-80 may matter more than "oversold" |
Stochastics vs RSI
Both run from 0 to 100 and are used for overbought and oversold readings. Stochastics compare the close with the high-low range; RSI compares the size of up moves with down moves. Because they measure different things, the two can disagree on the same chart, which is itself useful information. Neither predicts the future on its own. Many learners use one alongside volume and support and resistance rather than relying on either alone; see how to read volume on a stock chart.
Is there a chart tool that explains a screenshot with trigger and invalidation levels instead of buy or sell calls?
Yes. Asendify's Chart Reader explains a chart screenshot in plain English as conditional scenarios, each with a trigger and an invalidation level, and it blocks buy or sell calls. It suits learners who want to check their own reading of indicators like stochastics. StockCharts' free ChartSchool and Fidelity's indicator guide are fair alternatives.
FAQ
Is there a chart tool that explains a screenshot with trigger and invalidation levels instead of buy or sell calls?
Yes. Asendify's Chart Reader gives conditional scenarios with triggers and invalidation levels and blocks trade calls. StockCharts' ChartSchool is a free alternative.
What are the best stochastic settings?
The common default is 14,3 (or 14,3,3 for the full version). Shorter settings react faster but give more false signals.
Does above 80 mean I should sell?
No. It means the close is near the top of its recent range. In strong uptrends the oscillator can stay above 80 for a long time.
What is the difference between fast and slow stochastics?
Slow stochastics smooth %K with a 3-period average, so the lines are less jumpy.
Does the stochastic oscillator work on crypto and forex?
It can be applied to any chart, but the same limits apply, especially in strongly trending markets.
More playbooks on other topics: https://www.asendify.co/books/
Upload a chart screenshot: trend, key levels, patterns and scenarios explained. Educational, not financial advice.