This indicator is usually calculated as:
and can be manipulated by changing the period considered for highs and lows.
The idea behind this indicator is that prices tend to close near their past highs in bull markets, and near their lows in bear markets. Transaction signals can be spotted when the stochastic oscillator crosses its moving average.
Two stochastic oscillator indicators are typically calculated to assess future variations in prices, a fast (%K) and slow (%D). Comparisons of these statistics are a good indicator of speed at which prices are changing or the Impulse of Price. %K is the same as Williams %R, though on a scale 0 to 100 instead of -100 to 0, but the terminology for the two are kept separate.
The fast stochastic oscillator or Stoch %K calculates the ratio of two closing price statistics: the difference between the latest closing price and the lowest price in the last N days over the difference between the highest and lowest prices in the last N days:
The slow stochastic oscillator or Stoch %D calculates the simple moving average of the Stoch %K statistic across s periods . Usually s=3:
or more generally:
The %K and %D oscillators range from 0 to 100 and are often visualized using a line plot. Levels near the extremes 100 and 0, for either %K or %D, indicate strength or weakness (respectively) because prices have made or are near new N-day highs or lows.
There are two well known methods for using the %K and %D indicators to make decisions about when to buy or sell stocks. The first involves crossing of %K and %D signals, the second involves basing buy and sell decisions on the assumption that %K and %D oscillate.
In the first case, %D acts as a trigger or signal line for %K. A buy signal is given when %K crosses up through %D, or a sell signal when it crosses down through %D. Such crossovers can occur too often, and to avoid repeated whipsaws one can wait for crossovers occurring together with an overbought/oversold pullback, or only after a peak or trough in the %D line. If price volatility is high, a simple moving average of the Stoch %D indicator may be taken. This statistic smooths out rapid fluctuations in price.
In the second case, some analysts argue that %K or %D levels above 80 and below 20 can be interpreted as overbought or oversold. On the theory that the prices oscillate, many analysts including George Lane, recommend that buying and selling be timed to the return from these thresholds. In other words, one should buy or sell after a bit of a reversal. Practically, this means that once the price exceeds one of these thresholds, the investor should wait for prices to return through those thresholds (e.g. if the oscillator were to go above 80, the investor waits until it falls below 80 to sell).
George Lane, a financial analyst from the 1950s is one of the first to publish on the use of stochastic oscillators to forecast prices According to Lane you use the stochastics indicator with a good knowledge of "Elliot Wave Theory". A Center piece of his teaching is the divergence and convergence of trend lines drawn on stochastics as diverging/ converging to trend lines drawn on price cycles. Stochastics has the power to predict tops and bottoms.
It should be noted that the existence of price oscillations is hypothetical and statistical at best--stock price movements are a consequence of the actions of human decision-makers and past behavior of market variables does not necessarily predict future behavior.
Trading Stochastics in Context: Stochastics Is One of the Better-Known Technical Indicators and Has Been for Decades. but It Isn't without Flaws. to Know Its Strengths, You Need to Get Personal with Its Weaknesses
Jun 01, 2011; As traders, we continually search for the Philosopher's Stone to help us unlock the secrets of the markets. Numerous technical...
Trading Stocks with Stochastics: A Key to Trading Well Is Exploring a Wide Range of Techniques. for Many Stock Traders, Stochastics Can Provide a Fresh View of Price Action
Jun 01, 2011; Technical analysis is a science of forecasting the price of tradeable markets based on price, volume and open interest data....