Stochastic Oscillator
Definition
A momentum indicator comparing a closing price to its price range over a period. Ranges 0-100 with >80 overbought and <20 oversold.
In Detail
The Stochastic Oscillator, developed by George Lane in the 1950s, measures where the current closing price sits relative to the high-low range over a specified lookback period (typically 14 periods). The core insight behind it is that in uptrends, prices tend to close near the top of the recent range, and in downtrends, prices tend to close near the bottom. The indicator produces two lines: %K (the fast line) calculated as ((Current Close - Lowest Low) / (Highest High - Lowest Low)) × 100, and %D (the signal line) which is a 3-period simple moving average of %K. Readings above 80 indicate that price is closing near the top of its recent range (overbought territory), while readings below 20 indicate price is closing near the bottom (oversold territory). There are three variants: Fast Stochastic (raw %K with its %D), Slow Stochastic (smooths the Fast %K with a 3-period SMA, then applies another SMA for %D — less noisy and more commonly used), and Full Stochastic (allows custom smoothing periods for all parameters). An important nuance that many traders misunderstand: overbought does not mean "sell" and oversold does not mean "buy." In strong trends, the Stochastic can remain in overbought or oversold territory for extended periods — a stock in a powerful uptrend will consistently close near the top of its range, keeping Stochastic above 80 for weeks or months. Treating sustained overbought readings as sell signals during a trend leads to repeatedly selling into strength.
How to Use in Trading
The Stochastic Oscillator works best in range-bound markets where prices oscillate between defined support and resistance levels. In these conditions, buy when %K crosses above %D below the 20 level (oversold crossover) and sell or take profits when %K crosses below %D above the 80 level (overbought crossover). The %K/%D crossover is the primary signal, and the overbought/oversold zone provides confirmation that the crossover is occurring at an extreme. Look for divergences between the Stochastic and price as early warning signals: if price makes a lower low but the Stochastic makes a higher low (bullish divergence), selling momentum is weakening and a reversal may be approaching. Before using Stochastic signals, determine whether the market is trending or ranging — apply the ADX indicator or simply look at the chart. If ADX is above 25 or the chart shows clear directional movement, do not trade Stochastic mean-reversion signals because the indicator will give premature and repeatedly wrong signals. Instead, in trending markets, use Stochastic only in the direction of the trend: in an uptrend, use oversold crossovers as buy entries but ignore overbought crossovers for selling. For additional confirmation, combine Stochastic with support/resistance levels — an oversold Stochastic crossover at a known support zone is considerably more reliable than one in the middle of nowhere.
Example
A stock has been trading in a well-defined range between $45 (support) and $55 (resistance) for two months. The 14-period Slow Stochastic drops to 12 as price approaches $46 — deep oversold territory near support. You watch for the crossover signal: %K turns up and crosses above %D at the 15 level. You buy at $46.50 with a stop loss at $44.50 (below support) and a target of $54 (near resistance). Over the next two weeks, the stock rallies to $53. The Stochastic climbs to 85 and %K crosses below %D — your overbought sell signal. You close at $53 for a $6.50 gain per share (14% return) with $2.00 risked per share, giving you a 3.25:1 reward-to-risk ratio. The Stochastic worked well here because the market was clearly range-bound. If you had applied the same strategy during a breakout above $55, the overbought reading would have triggered a premature exit as the stock continued to $65 — missing $10 of additional upside because you sold into trend momentum based on an overbought signal.
Related Terms
More Indicators Terms
ADX (Average Directional Index)
A trend strength indicator (0-100) that measures how strong a trend is, regardless of direction. Above 25 = strong trend.
ATR (Average True Range)
A volatility indicator that measures the average range between high and low prices over a specified period.
Bollinger Bands
A volatility indicator consisting of a moving average with upper and lower bands set at standard deviations from the mean.
CCI (Commodity Channel Index)
A momentum oscillator measuring price deviation from its average. Above +100 is overbought, below -100 is oversold.
Divergence
When price moves in the opposite direction of an indicator, potentially signaling a trend reversal.
Put This Knowledge to Use
Practice crypto trading with $10,000 virtual capital. No risk, real market conditions.
Start Paper Trading Free