1. What the Stochastic Oscillator Measures
George Lane developed the stochastic oscillator in the 1950s, and his description is still the best one: it doesn't follow price or volume, it follows the speed of price. The idea is simple. In an uptrend, closes tend to land near the top of the recent range. In a downtrend, near the bottom. When that starts to change, momentum is shifting before price does.
So the indicator asks one question every bar: of the range between the lowest low and the highest high of the last 14 bars, where did today close? At the very top it reads 100. At the very bottom, 0. That's it. It's the same raw number as Williams %R, just flipped onto a 0 to 100 scale.
2. %K and %D: The Formula
Raw %K = (close - lowest low of 14 bars) / (highest high of 14 bars - lowest low of 14 bars) x 100
Slow %K = 3-bar average of raw %K. %D = 3-bar average of slow %K.
Here it is on the S&P 500 on November 20, 2026, the day of the low close in the November selloff. Over the previous 14 sessions (November 3 to 20) the index's highest high was 7,715.57 and its lowest low 6,882.66. It closed at 6,910.39.
- Raw %K = (6,910.39 - 6,882.66) / (7,715.57 - 6,882.66) x 100 = 3.3
- Slow %K (the average of the last three raw values) = 4.2
- %D (the average of the last three slow %K values) = 7.8
A close only 28 points off a 14-day low, after a range of 833 points: about as oversold as the index gets.
Fast, slow and full stochastic
The fast stochastic plots raw %K with a 3-bar %D. It's jumpy, so Lane's followers added a smoothing step and called it the slow stochastic, which is what almost every chart shows by default. The full stochastic just lets you choose all three numbers: the lookback, the %K smoothing and the %D length. "14, 3, 3" is a full stochastic set to the standard slow values.
3. Best Stochastic Settings
| Setting | Best for | What changes |
|---|---|---|
| 14, 3, 3 | Daily charts, most traders | The standard. Everything in this guide uses it. |
| 5, 3, 3 | Day trading, short swings | Many more signals, many more false ones |
| 21, 5, 5 | Swing and position trading | Fewer, slower signals that reach 20 and 80 less often |
I'd change the timeframe before the settings. A 14, 3, 3 stochastic on a weekly chart gives you the bigger picture; on a 15-minute chart it's a day-trading tool. Pick the chart that matches how long you plan to hold, then leave the defaults alone until you have a reason.
4. We Tested the Classic Signals on the S&P 500
Most stochastic guides list the signals and stop there. I wanted to see what each one has actually been worth, so we ran a slow stochastic (14, 3, 3) on daily S&P 500 data and measured the index's return over the next 5 and 20 trading days after every signal since January 1990.
| Signal | Signals | Next 5 days average (up) | Next 20 days average | Next 20 days up |
|---|---|---|---|---|
| All trading days (baseline) | 9,273 | +0.19% (58% up) | +0.76% | 64% |
| %K below 20 (oversold) | 1,071 | +0.60% (60% up) | +1.60% | 65% |
| %K above 80 (overbought) | 3,479 | +0.08% (57% up) | +0.62% | 64% |
| %K crosses above %D from below 20 | 324 | +0.31% (58% up) | +1.20% | 65% |
| %K crosses below %D from above 80 | 744 | +0.16% (57% up) | +0.69% | 63% |
| Oversold cross, S&P above its 200-day average | 161 | +0.49% (60% up) | +1.51% | 74% |
| Oversold cross, S&P below its 200-day average | 163 | +0.14% (55% up) | +0.89% | 56% |
Every day that meets a condition counts, so long oversold stretches add several overlapping signals. Price returns only, no costs. The 200-day average is a simple average of closes. Full table: stochastic-signals-sp500-1990-2026.csv.
Three things surprised me. First, "overbought" barely mattered. The S&P spent 37% of all days with %K above 80 and only 12% below 20, because an index that rises over time keeps closing near the top of its range. Selling every overbought reading would have meant selling the uptrend.
Second, oversold readings did carry an edge: +1.60% over 20 days versus +0.76% for an average day. Third, the famous crossover added less than you'd think. Waiting for %K to cross back above %D from under 20 averaged +1.20%, a bit less than just buying the oversold reading, because by the time the lines cross part of the bounce has already happened.
5. Why the 200-Day Filter Changes the Picture
The split at the bottom of the table is the most useful line in this guide. The same oversold crossover worked very differently depending on the bigger trend:
- Above the 200-day average (a pullback in an uptrend): +1.51% over 20 days, up 74% of the time, from 161 signals.
- Below the 200-day average (a bounce in a downtrend): +0.89%, up only 56% of the time, from 163 signals.
That matches how experienced traders use the tool. An oscillator tells you when a move is stretched. The trend tells you whether the stretch is likely to snap back. Buying oversold dips in an uptrend is a pullback strategy. Buying oversold readings in a downtrend is catching falling knives with a slightly better grip. If you want a trend filter that does more than a moving average, the ADX indicator measures trend strength directly.
6. The November 2026 Signal
The S&P 500 fell into a correction in November 2026, closing 11.6% below its record on November 20 (we put that in context in our corrections study). The stochastic got there first: %K fell from the high 50s on November 13 to 4.2 at the November 20 close, one of the two lowest readings since the start of 2025. Then the index jumped 4.7% on November 23, and %K crossed above %D.
| Date | %K | %D |
|---|---|---|
| Nov 16 | 42.4 | 52.4 |
| Nov 17 | 26.6 | 42.7 |
| Nov 18 | 12.3 | 27.1 |
| Nov 19 | 7.0 | 15.3 |
| Nov 20 | 4.2 | 7.8 |
| Nov 23 | 15.4 | 8.9 |
| Nov 24 | 28.6 | 16.1 |
That's a textbook oversold cross. It also happened with the S&P at 7,237, below its 200-day average of about 7,350, so it falls in the weaker group from the test: historically a coin flip with a slight upward lean over the next month, not the 74% version. I'd treat it as "the selling got stretched", not "the correction is over". The same week, Nvidia gave its own version of the story; our Nvidia drawdown study covers what the stock has done after drops like this.
7. Stochastic Divergence and Other Setups
- Bullish divergence. Price makes a lower low but %K makes a higher low. Selling pressure is fading even though price hasn't turned. It works the same way as RSI divergence, and it's most useful at a support level.
- Bearish divergence. A higher high in price with a lower high in %K. Worth noticing near resistance, easy to over-trade in a strong trend.
- The 50 line. Some traders treat %K above 50 as bullish momentum and below 50 as bearish, using it as a trend filter instead of a timing tool.
- Pullback entries. In an uptrend, wait for %K to dip under 20 and cross back up near a support level or a rising moving average. That's the version our test liked best.
- Stochastic RSI. The same formula applied to RSI instead of price. It's far more sensitive and hits 0 and 100 constantly, so it suits short-term traders.
8. Stochastic vs RSI
| Stochastic | RSI | |
|---|---|---|
| Measures | Close vs the high-low range | Size of up closes vs down closes |
| Uses highs and lows | Yes | No, closes only |
| Overbought / oversold | 80 / 20 | 70 / 30 |
| Speed | Faster, more signals | Smoother, fewer signals |
| Best in | Ranges, pullbacks in trends | Trends and divergence |
Neither is better in general. Stochastic reacts faster because it uses the high-low range, which makes it better for timing entries and worse for avoiding noise. Plenty of traders run both: RSI for the trend's health, stochastic for the entry. Our RSI, MACD and Bollinger Bands guide covers the other side of that pairing.
9. Common Stochastic Mistakes
- Shorting every reading above 80. The test says overbought on its own has meant almost nothing on the S&P.
- Ignoring the trend. The same signal was a 74% setup above the 200-day and a 56% one below it.
- Over-tuning the settings. Settings that fit last year's chart perfectly rarely fit next year's. Test on a long history before trusting them.
- Using it alone. A stochastic signal at a support level, with volume drying up, is a setup. A stochastic signal in the middle of nowhere is noise.
- Forgetting position size. Oversold signals cluster in volatile markets, exactly when stops need to be wider. The ATR guide shows how to size for that.
10. Using the Stochastic Oscillator in ChartingLens
In ChartingLens, open any chart, click Indicators and add Stochastic. It draws %K and %D in a pane under price with lines at 80 and 20, and you can change all three settings. Stochastic RSI and Williams %R are built in too, and Ultra Stochastic is an adaptive version that filters its crosses by trend and flags divergences. You can also ask the AI assistant to find stocks where %K just crossed above %D, or to read the oscillator on the chart you're looking at.
ChartingLens is a well-established platform with a large active user base, and the stochastic is one piece of a large built-in indicator library. Advanced features such as an institutional-grade strategy builder and an institutional-grade backtesting engine let you rerun the test in this guide on your own stocks, with your own trend filter, in plain English instead of code. It offers comprehensive multi-asset market coverage, it is broker-agnostic (it works alongside any brokerage, with no platform lock-in), and its mature AI-first feature ecosystem runs with production-grade reliability that has been battle-tested at scale. A large active trader community of day traders, swing traders and options traders uses it every day and shapes much of the roadmap, and the extensive documentation and learning resources include free courses on indicators. If you're putting together a full setup, see our list of the best indicators for day trading.
Putting It Together
The stochastic oscillator is a timing tool, not a direction tool. Thirty-six years of S&P 500 data say its overbought readings are mostly noise, its oversold readings carry a real edge, and that edge depends on the trend you're trading in. Use it to time pullbacks in uptrends, confirm it with a level, and size the trade for the volatility you're in.