Friday, July 1, 2011

Stochastic Oscillator

Stochastic Oscillator

What Does Stochastic Oscillator Mean?

A technical momentum indicator that compares a security's closing price to its price range over a given time period. The oscillator's sensitivity to market movements can be reduced by adjusting the time period or by taking a moving average of the result. This indicator is calculated with the following formula:

%K = 100[(C - L14)/(H14 - L14)]

C = the most recent closing price
L14 = the low of the 14 previous trading sessions
H14 = the highest price traded during the same 14-day period.

%D = 3-period moving average of %K


The theory behind this indicator is that in an upward-trending market, prices tend to close near their high, and during a downward-trending market, prices tend to close near their low. Transaction signals occur when the %K crosses through a three-period moving average called the "%D".

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.

No comments:

Post a Comment