Stochastic Oscillator: Where Price Closes Within Its Range
The stochastic does not ask how far price has moved, only where it finished inside its recent range. That one question often signals a turn before the price itself changes direction.
Where it comes from
The stochastic oscillator was developed by the American technical analyst George Lane in the late 1950s. Lane stressed that it follows the speed, or momentum, of price rather than price or volume. He liked to compare a market to a rocket: before it can fall back, it must first slow down. The indicator tries to catch that slowing early, and it has been a standard tool on charting platforms ever since.
How it is calculated
The idea is simple. In an uptrend, closes tend to land near the top of the recent range; in a downtrend, near the bottom. Over a lookback period, usually 14 candles, the main line is %K = 100 × (close − lowest low) ÷ (highest high − lowest low). A reading of 100 means the close is at the top of the range, 0 means it is at the bottom. The second line, %D, is a 3-period moving average of %K and acts as a signal line.
The raw version is jumpy, so most platforms default to the “slow” stochastic, which smooths %K once more. Its settings are usually written 14, 3, 3.
Reading the signals
- Overbought and oversold: above 80, closes are near the highs of the range; below 20, near the lows. These are warnings, not orders. In a strong trend the line can stay above 80 for weeks.
- Crossovers: %K crossing below %D from above 80 suggests momentum is fading; crossing above %D from below 20 suggests it is returning.
- Divergence: if price makes a new high but the stochastic makes a lower high, momentum is weakening beneath the surface. The mirror image at lows hints that selling is running out of force. Many traders treat this as the most meaningful signal of all.
Using it with care
The stochastic works best in sideways, range-bound markets, where overbought and oversold readings repeat. In a strong trend, act only on signals that point the same way as the trend, such as buying a dip when the line falls below 20 in an uptrend. Confirm with a trend filter like a moving average, with support and resistance, and with volume. Shorter settings produce more signals and more noise, so avoid tuning them until the past looks perfect.
Educational content only. It is not investment advice, and trading involves risk of loss.