The stochastic oscillator is another well-known momentum indicator used in technical analysis. The idea behind this indicator is that the closing prices should predominantly close in the same direction as the prevailing trend.

In an upward trend the price should be closing near the highs of the trading range and in a downward trend the price should be closing near the lows of the trading range. When this occurs it signals continued momentum and strength in the direction of the prevailing trend.

The stochastic oscillator is plotted within a range of zero and 100 and signals overbought conditions above 80 and oversold conditions below 20. The stochastic oscillator contains two lines. The first line is the %K which is essentially the raw measure used to formulate the idea of momentum behind the oscillator. The second line is the %D which is simply a moving average of the %K. The %D line is considered to be the more important of the two lines as it seen to produce better signals.

The stochastic oscillator generally uses the past 14 trading periods in the calculation but can be adjusted to meet the needs of the user.

Calculation

There are three versions of the stochastic oscillator fast, slow and full. The purpose of each version of the stochastic is to smooth the oscillator and help remove some of the randomness. The fast stochastic oscillator is the basic version of the indicator and is the one represented by the above equations. The slow and full stochastics smooth the data that is provided by the raw data given in the fast stochastic. Both of these oscillators reflect the same period and plot two lines.

Slow Stochastic:

The number of periods used in calculating the slow %D can be adjusted to meet the user's needs.

Full Stochastic:

Stochastic Signal Generation
The main signal that is formed by this oscillator is when the %K line crosses the %D line. A bullish signal is formed when the %K breaks through the %D in an upward direction. A bearish signal is formed when the %K falls through the %D in a downward direction.

Divergence can also be used to formulate buyâ€“and-sell signals. When looking for divergence the %D line is the one most used as it gives clearer signals due to its smoothed nature. A divergence signal is formed when the %D and the security move away from one another, signaling a weakening of the trend.

If the security is moving in an upward direction and the %D is moving in a downward direction this is a bearish sign. A bullish sign is formed when the %D is moving upward when the security is moving downward. If this divergence is happening when the %D is in an overbought (above 80) or an oversold (below 20) position on the oscillator the signal formed is much stronger. However, the signal is not considered complete until the %K line crosses the %D line in the opposite direction of the price trend.

The stochastic oscillator is a little more difficult to calculate compared to other technical indictors but none the less it is one of the more commonly used indicators. The indicator can be adjusted to any time frame but is normally set to equal 14 periods.

Exploring Oscillators and Indicators: Market Indicators
Related Articles

### Triple Screen Trading System - Part 5

Stochastics can be very effective as the second screen in this three-part system. Find out how to use this popular oscillator.

### Combined Forces Power Forex Snap Strategy

Stochastic and MACD oscillators can help isolate greater opportunities in range-bound markets.
3. Investing

### Stochastics: An Accurate Buy And Sell Indicator

Find out how stochastics are used to create buy and sell signals for traders.

### MACD And Stochastic: A Double-Cross Strategy

The stochastic oscillator and the moving average convergence divergence (MACD) are two indicators that work well together.
5. Investing

### The Top Technical Indicators For Commodities Investing

Traders can use "the usual suspects" (standard indicators for trend trading) when it comes to choosing indicators for investing in commodities. Here's how.

### Use The Percentage Price Oscillator: The "Elegant Indicator" For Picking Stocks

Technical analysis is basically an attempt to disprove the credo that "Past performance is not indicative of future results." The percentage price oscillator, which measures momentum, is among ...

These beaten-down S&P 500 components are finishing up long-term sell cycles that should yield strong multi-month bounces.