Home    |    Trading Alchemy Manual    |    Alchemy Functions Index

AlchemyStochastics (Function)

The Stochastic oscillators indicate overbought and oversold areas in the market, based upon momentum or price velocity. AlchemyStochastics returns the values for the Stochastics line.

AlchemyStochastics (Len, KAv, DAv)

Parameters

Len

The number of bars to consider for the fast K line

KAv

The number of bars to consider for the average of the fast K line

DAv

The number of bars to consider for the average of the D line

 

Returns

A numeric value containing Stochastics for the current bar.

Usage

When using Stochastics, most people use the slow Stochastic since its smoothed values are less subject to whipsaws. The indicator itself is composed of a percentK and a percentD line that will always oscillate between 0 and 100; a higher value indicates an overbought market while a lower value indicates an oversold market. 

A value greater than 80 is usually used as an overbought signal and a value less than 20 is used for the oversold signal. The 80 value is often called the sell zone and the 20 value is called the buy zone. The crossover of the buy zone and sell zone values in conjunction with a percentD and percentK crossover is a good indication of a switch in trend direction. 
George C. Lane, developer of the Stochastic, says the only valid signal derived from the percentD is a divergence from the price where the divergence is an indication of a trend reversal. When using the percentK and the percentD together, crossovers of the two generate valid signals and should be used to indicate rising and declining markets.

Home    |    Trading Alchemy Manual    |    Alchemy Functions Index