The Stochastic Oscillator was developed by George Lane in the 1950s and is based on a deceptively simple observation: in uptrending markets, closing prices tend to cluster near the top of the recent range. In downtrending markets, they cluster near the bottom. The stochastic measures where the current close sits within the recent price range and expresses this as a percentage — 100 meaning the close is at the top of the range, 0 meaning it is at the bottom. This closing price positioning reveals the underlying momentum bias of the market.
How Stochastics Work
The core calculation compares the most recent closing price to the high-low range over a specified period — typically 14 periods.
Period: 14 Current close: 1.0870 14-period high: 1.0950 14-period low: 1.0800 %K = (Close − Low) ÷ (High − Low) × 100 %K = (1.0870 − 1.0800) ÷ (1.0950 − 1.0800) × 100 %K = 0.0070 ÷ 0.0150 × 100 %K = 46.7 Interpretation: Current close is at 46.7% of the 14-period range — neutral, slightly below midpoint.
%K and %D Lines
The stochastic displays two lines. %K is the raw calculation — it is fast and can be noisy. %D is a 3-period simple moving average of %K — it is slower and smoother, acting as a signal line. Most traders use the slow stochastic settings (14, 3, 3) which applies an additional smoothing to %K before calculating %D, reducing false signals.
Overbought and Oversold Zones
Like RSI, the stochastic uses 80 and 20 as its overbought and oversold thresholds (compared to RSI's 70 and 30). When stochastics are above 80, price has been closing consistently near the top of its recent range — momentum is bullish but potentially stretched. When below 20, price has been closing near the bottom of its range — momentum is bearish but potentially stretched.
The same caution that applies to RSI overbought/oversold levels applies here. In strong trends, the stochastic can remain in overbought or oversold territory for extended periods. These readings confirm trend strength in trending conditions — they suggest potential reversals only at key turning points accompanied by additional confirmation.
Stochastic Crossovers
A bullish crossover occurs when %K crosses above %D — a signal that short-term momentum is turning bullish. A bearish crossover occurs when %K crosses below %D. Crossovers are most significant when they occur within the overbought or oversold zones — a %K crossing below %D when both are above 80 is a much stronger bearish signal than a crossover at the 50 level.
Bearish setup: Stochastics above 80 (overbought). %K crosses below %D while above 80. This crossover inside the overbought zone is the sell signal — not just reaching 80. Add confluence: Price at resistance level. Bearish pin bar on current candle. Three-way confirmation: stochastic crossover + price level + candle signal.
Stochastics vs RSI
RSI and stochastics both measure momentum and both oscillate between 0 and 100. The key differences are in sensitivity and calculation method. Stochastics tend to be more sensitive than RSI — they reach overbought and oversold levels more frequently and can be noisier in choppy markets. RSI tends to be smoother and more reliable on trending timeframes.
RSI is generally preferred for divergence analysis — it produces cleaner divergence signals. Stochastics are generally preferred for overbought/oversold crossover signals — the %K/%D crossover within the extreme zones is a more precise entry mechanism than RSI's single line reaching 70 or 30. Using both simultaneously is redundant — they measure similar things with slightly different methods.