Stochastic Oscillator
The Stochastic Oscillator is a momentum indicator that compares a security’s closing price to its price range over a specified look‑back period, expressing the result as a percentage between 0 and 100. Developed by George Lane in the late 1950s, it helps traders gauge whether an asset is trading near the top or bottom of its recent range, signalling potential overbought or oversold conditions and possible turning points in price direction.
How It Works
The oscillator consists of two lines: %K and %D. The raw %K value for a given period is calculated as:
%K = (Current Close – Lowest Low) / (Highest High – Lowest Low) × 100
Where “Highest High” and “Lowest Low” refer to the highest high and lowest low observed over the chosen period, commonly 14 bars. To smooth short‑term noise, %K is often averaged over three periods to produce the signal line, %D, which is a simple moving average of %K. Traders watch for %K crossing above or below %D, as well as readings above 80 (overbought) or below 20 (oversold). The indicator is readily available on most charting platforms, including MetaTrader 5, where it can be applied to any timeframe.
Why It Matters for Traders
The Stochastic Oscillator provides insight into momentum strength and potential exhaustion points. When the oscillator stays in overbought territory while price continues to rise, it may suggest weakening buying pressure and a forthcoming pullback; conversely, prolonged oversold readings can hint at fading selling pressure. Divergence between the oscillator and price action—such as a higher high in price paired with a lower high in %K—often precedes reversals. Because the tool reacts quickly to price changes, it is useful for short‑term swing trading and for confirming signals from other indicators like moving averages or support/resistance levels.
Example
Assume a 14‑period Stochastic calculation on a currency pair where the highest high is 1.2000, the lowest low is 1.1800, and the current close is 1.1900. The raw %K equals (1.1900‑1.1800) / (1.2000‑1.1800) × 100 = 0.01 / 0.02 × 100 = 50. If the three preceding %K values were 45, 48, and 50, the smoothed %D (3‑period SMA of %K) would be (45+48+50)/3 = 47.7. In this scenario, %K (50) is above %D (47.7), indicating a mild bullish bias, but the reading is far from the overbought threshold of 80, suggesting the move may still have room.
Key Takeaways
- The Stochastic Oscillator measures where the close lies relative to the recent high‑low range, expressed as a percentage.
- %K shows the raw momentum; %D smooths it, and crossovers between the two lines generate trading signals.
- Readings above 80 signal overbought conditions; below 20 signal oversold, though strong trends can keep the indicator in these zones.
- Divergence between the oscillator and price often warns of impending reversals, adding value when combined with other analysis tools.