Stochastic Oscillator
Technical IndicatorsA momentum indicator that compares a currency pair's closing price to its price range over a set number of periods. It generates %K and %D lines that oscillate between 0 and 100, with readings above 80 considered overbought and below 20 oversold.
What Is the Stochastic Oscillator?
Developed by George Lane, the stochastic oscillator measures where the current closing price sits relative to the high-low range over a lookback period (default 14). The idea is simple: in uptrends, prices tend to close near their highs, and in downtrends, near their lows. The %K line is the raw calculation, and %D is a 3-period moving average of %K, acting as a signal line.
Stochastic Trading Signals
The primary signals are crossovers and overbought/oversold readings. When %K crosses above %D below the 20 level, it generates a buy signal. When %K crosses below %D above the 80 level, it generates a sell signal. Like RSI (Relative Strength Index), divergence between the stochastic and price is a powerful reversal signal. If USD/JPY makes a new low but the stochastic makes a higher low, bullish divergence suggests the downtrend is weakening.
Best Settings and Combinations
For swing trading on daily charts, the standard 14,3,3 setting works well. For shorter timeframes, 5,3,3 provides faster signals. The stochastic oscillator performs best in ranging markets where overbought and oversold levels are meaningful. In strong trends, it can stay overbought or oversold for long periods, generating premature reversal signals. Filter stochastic signals by trend direction using a Moving Average: only take buy signals when price is above the 200 EMA, and sell signals when below.
Related Terms
RSI (Relative Strength Index)
A momentum oscillator that measures the speed and magnitude of recent price changes on a scale of 0 to 100. Readings above 70 suggest overbought conditions; below 30 suggest oversold conditions.
Williams %R
A momentum oscillator that measures overbought and oversold levels on a scale of 0 to -100. Readings above -20 indicate overbought conditions and below -80 indicate oversold conditions. It is essentially an inverted stochastic oscillator.
Momentum Indicator
A basic oscillator that measures the difference between the current price and the price a set number of periods ago. Unlike the percentage-based Rate of Change, momentum uses absolute price difference and oscillates around zero.