Stochastic Oscillator
The Stochastic oscillator compares a security's closing price to its price range over a specific period. It generates values between 0 and 100, helping traders identify momentum shifts and potential reversals.
What is the Stochastic?
Created by George Lane in the 1950s, the Stochastic oscillator is based on the observation that during uptrends, closing prices tend to close near the high of the range, and during downtrends, they close near the low.
The indicator consists of two lines: %K (the main line) and %D (a moving average of %K that acts as a signal line). Crossovers between these lines generate trading signals.
How the Stochastic Works
The Stochastic measures where the current close sits relative to the high-low range over a lookback period. A high reading means price is closing near recent highs; a low reading means it's closing near recent lows.
Fast vs Slow Stochastic
Fast Stochastic
Uses raw %K values. Very sensitive to price changes, producing more signals but also more noise and false signals.
- • %K: Raw calculation
- • %D: 3-period SMA of %K
- • Best for: Scalping, short-term trades
Slow Stochastic
Smooths the fast %K with a moving average. Produces fewer but more reliable signals. Most traders prefer this version.
- • %K: 3-period SMA of Fast %K
- • %D: 3-period SMA of Slow %K
- • Best for: Swing trading, position trading
Crossover Signals
The most common Stochastic signals come from %K and %D line crossovers, especially when they occur in overbought or oversold zones.
Bullish Crossover
%K crosses above %D from below, ideally in the oversold zone (below 20). This signals potential upward momentum.
- • Strongest when below 20
- • Confirm with price action
- • Entry: On crossover confirmation
Bearish Crossover
%K crosses below %D from above, ideally in the overbought zone (above 80). This signals potential downward momentum.
- • Strongest when above 80
- • Look for bearish candles
- • Exit longs or enter shorts
Trading Strategies
Divergence Trading
Like RSI, Stochastic divergence can signal potential reversals. Look for price and Stochastic making opposite highs or lows.
- Bullish: Price lower low + Stochastic higher low
- Bearish: Price higher high + Stochastic lower high
- • More reliable in extreme zones
Pullback Strategy
In trending markets, use Stochastic to time entries on pullbacks. Buy dips in uptrends when Stochastic reaches oversold; sell rallies in downtrends.
- • Identify trend with higher timeframe
- • Wait for Stochastic extreme reading
- • Enter on crossover in trend direction
Optimal Settings
| Trading Style | %K Period | %D Period | Notes |
|---|---|---|---|
| Scalping | 5 | 3 | Very fast, many signals |
| Day Trading | 9-14 | 3 | Balanced sensitivity |
| Swing Trading | 14 | 3 | Default, reliable |
| Position Trading | 21 | 5 | Smoother, fewer signals |
Stochastic + RSI Combination
Many traders use Stochastic alongside RSI for confirmation. When both indicators agree on overbought/oversold conditions, the signal is considered stronger.
Frequently Asked Questions
What is the Stochastic oscillator?
The Stochastic oscillator is a momentum indicator that compares a security's closing price to its price range over a set period. It consists of %K (fast) and %D (slow) lines that oscillate between 0 and 100, helping identify overbought (above 80) and oversold (below 20) conditions.
What is the difference between fast and slow Stochastic?
Fast Stochastic uses raw %K and %D and is more sensitive. Slow Stochastic smooths %K before calculating %D, reducing false signals. Most traders use slow Stochastic (14, 3, 3) for a balance of responsiveness and reliability.
How do I use Stochastic crossover signals?
A bullish crossover occurs when %K crosses above %D in oversold territory (below 20); a bearish crossover when %K crosses below %D in overbought territory (above 80). Crossovers in the middle of the range are less reliable.
What are good Stochastic settings?
The classic 14, 3, 3 (period, %K smoothing, %D smoothing) works well for most markets. Shorter periods (e.g. 5, 3, 3) suit scalping; longer (e.g. 21, 5, 5) suit swing trading. Backtest on your timeframe.
Can Stochastic be used with RSI?
Yes. Using Stochastic with RSI is common—when both show overbought or oversold and align with crossovers, signals are often stronger. Combine with trend filters (e.g. moving averages) to avoid trading against the trend.