Saturday, March 20, 2010

STOCHASTIC OSCILLATOR

Developed by George C. Lane in the late 1950s, the Stochastic Oscillator is a momentum indicator that shows the location of the current close relative to the high/low range over a set number of periods. Closing levels that are consistently near the top of the range indicate accumulation (buying pressure) and those near the bottom of the range indicate distribution (selling pressure).

Calculation

%K = 100 X { RECENT CLOSE - LOWEST LOW (N) / HIGHEST HIGH (N) - LOWEST LOW (N) }

%D = 3 - PERIOD MOVING AVERAGE OF %K

(N) = NUMBER OF PERIODS USED IN CALCULATION

A 14-day %K (14-period Stochastic Oscillator) would use the most recent close, the highest high over the last 14 days and the lowest low over the last 14 days. The number of periods will vary according to the sensitivity and the type of signals desired. As with RSI, 14 is a popular number of periods for calculation.

Slow versus Fast versus Full

There are three types of Stochastic Oscillators: Fast, Slow, and Full. The Fast Stochastic Oscillator is made up of %K and %D. In order to avoid confusion between the two, I'll use %K (fast) and %D (fast) to refer to those used in the Fast Stochastic Oscillator, and %K (slow) and %D (slow) to refer to those used in the Slow Stochastic Oscillator. The driving force behind both Stochastic Oscillators is %K (fast), which is found using the formula provided above.

The Fast Stochastic Oscillator is plotted in the box just below the price plot. The thick black line represents %K (fast) and the thin red line represents %D (fast). Also called the trigger line, %D (fast) is a smoothed version of %K (fast). One method of smoothing data is to apply a moving average. To smooth %K (fast) and create %D (fast), a 3-period simple moving average was applied to %K (fast). Notice how the %K (fast) line pierces the %D (fast) line a number of times. To alleviate some of these false breaks and smooth %K (fast), the Slow Stochastic Oscillator was developed.

The Slow Stochastic Oscillator is plotted in the lower box: the thick black line represents %K (slow) and the thin red line represents %D (slow). To find %K (slow) in the Slow Stochastic Oscillator, a 3-day SMA was applied to %K (fast). This 3-day SMA slowed (or smoothed) the data to form a slower version of %K (fast). A close examination would reveal that %D (Fast), the thin red line in the Fast Stochastic Oscillator, is identical to %K (Slow), the thick black line in the Slow Stochastic Oscillator. To form the trigger line, or %D (slow) in the Slow Stochastic Oscillator, a 3-day SMA was applied to %K (Slow).

The Full Stochastic Oscillator takes three parameters. Just as in the Fast and Slow versions, the first parameter is the number of periods used to create the initial %K line and the last parameter is the number of periods used to create the %D (full) signal line. What's new is the additional parameter, the one in the middle. It is a "smoothing factor" for the initial %K line. The %K (full) line that gets plotted is a n-period SMA of the initial %K line (where n is equal to the middle parameter).

The Full Stochastic Oscillator is more advanced and more flexible than it's Fast and Slow cousins. You can even use it to duplicate the other versions. For example, a (14, 3) Fast Stochastic is equivalent to a (14, 1, 3) Full Stochastic and a (12, 2) Slow Stochastic is equal to a (12, 3, 2) Full Stochastic.

Readings below 20 are considered oversold and readings above 80 are considered overbought. However, Lane did not believe that a reading above 80 was necessarily bearish or a reading below 20 bullish. A security can continue to rise after the Stochastic Oscillator has reached 80 and continue to fall after the Stochastic Oscillator has reached 20. Lane believed that some of the best signals occurred when the oscillator moved from overbought territory back below 80 and from oversold territory back above 20.

Buy and sell signals can also be given when %K crosses above or below %D. However, crossover signals are quite frequent and can result in a lot of whipsaws.

One of the most reliable signals is to wait for a divergence to develop from overbought or oversold levels. Once the oscillator reaches overbought levels, wait for a negative divergence to develop and then a cross below 80. This usually requires a double dip below 80 and the second dip results in the sell signal. For a buy signal, wait for a positive divergence to develop after the indicator moves below 20. This will usually require a trader to disregard the first break above 20. After the positive divergence forms, the second break above 20 confirms the divergence and a buy signal is given.

No comments:

Post a Comment