The stochastic oscillator, popularised by George Lane in the 1950s, answers a simple question: where did today's close fall within the recent high–low range? If prices keep closing near the top of their range, buyers are in control. If they keep closing near the bottom, sellers are.
How it is calculated
- %K = 100 × (close − lowest low of N periods) ÷ (highest high of N periods − lowest low of N periods).
- %D = a moving average of %K (usually 3 periods).
The default is often 14 periods. The result moves between 0 and 100.
There are variations: the fast stochastic uses raw %K; the slow stochastic smooths %K first, producing fewer, cleaner signals. Most platforms default to a smoothed version.
Reading the stochastic
- Above 80: closes near the top of the range — overbought.
- Below 20: closes near the bottom of the range — oversold.
- %K crossing %D: a short-term momentum shift.
Like RSI, overbought does not mean "sell now". In strong uptrends, stochastic can stay above 80 for a long time.
Stochastic in trends and ranges
In ranges: buying when stochastic crosses back above 20 near support and selling when it crosses below 80 near resistance can work well.
In trends: use stochastic for timing pullbacks in the direction of the trend. In an uptrend, wait for stochastic to dip below 20 and cross back up — that is a pullback ending, not a reason to short.
A backtestable stochastic strategy
- Trend filter: close above the 50 SMA.
- Entry: stochastic %K (14) crosses above 20.
- Exit: %K crosses above 80, or a 4% stop-loss.
This combines a trend filter with a momentum trigger. Open it in our stochastic strategy backtest, then change the trend filter or levels to see how sensitive the results are.
Divergence
When price makes a lower low but stochastic makes a higher low, downside momentum is weakening (bullish divergence). The reverse at highs is bearish divergence. Use divergence as a warning and wait for price confirmation — a break of structure or a reversal candle at a level.
Stochastic vs RSI
| Stochastic | RSI | |
|---|---|---|
| Measures | Close relative to range | Size of gains vs losses |
| Sensitivity | More sensitive | Smoother |
| Signals | More frequent | Fewer |
| Best use | Timing entries in ranges or pullbacks | Momentum strength and divergence |
Choose one as your main oscillator; using both often duplicates information. See our RSI guide.
Common mistakes
- Selling every overbought reading in a bull market.
- Using stochastic on very low timeframes where it flips constantly.
- Ignoring support and resistance — the oscillator is more meaningful at key levels.
Risk management
The stochastic gives timing, not risk control. Place stops beyond the swing that defines your idea, size positions with the position size calculator and check that targets offer at least 1.5–2 times the risk.
A worked example
Imagine a large-cap stock in a steady uptrend, trading above its 50-day SMA. Over three days it pulls back to a previous breakout level, and the 14-period stochastic falls below 20. On the fourth day, %K crosses back above 20 and above %D, and the candle closes as a bullish engulfing at the support zone.
- Entry: above the engulfing high the next day.
- Stop-loss: below the pullback low.
- First target: the recent swing high; trail the rest.
The stochastic did not "predict" anything — it simply confirmed that selling pressure during the pullback was fading at a level that already mattered. That is the role oscillators play best.
Key takeaways
- Stochastic shows where the close sits within the recent range (0–100).
- Above 80 / below 20 are overbought/oversold — not automatic signals.
- Best used for timing pullbacks in trends or turns in ranges.
- Combine with a trend filter and test before trading.
Frequently asked questions
What are the best stochastic settings?
14, 3, 3 is a common default. Shorter settings react faster but give more false signals.
Is stochastic good for intraday trading?
It is popular for intraday timing, especially combined with a higher-timeframe trend filter and key levels.
Fast or slow stochastic?
Slow stochastic is smoother and better for most traders; fast stochastic suits very short-term trading.
Can I use stochastic in crypto?
Yes. As always in crypto, respect the strong trends and use stops.
BullishBrush केवल शेयर बाज़ार की शिक्षा देता है। हम SEBI-रजिस्टर्ड निवेश सलाहकार या रिसर्च एनालिस्ट नहीं हैं और कोई खरीद-बिक्री की सलाह या टिप्स नहीं देते। शेयर बाज़ार में निवेश बाज़ार जोखिमों के अधीन है; निवेश से पहले सभी दस्तावेज़ ध्यान से पढ़ें। पिछला प्रदर्शन भविष्य की गारंटी नहीं है।