Home | Trading Alchemy Manual | Alchemy Functions IndexAlchemyPercentD (Function)The Stochastic oscillators indicate overbought and oversold areas in the market, based upon momentum or price velocity. AlchemyPercentD returns the values for the Stochastics D line. AlchemyPercentD (LoPrice, HiPrice, ClPrice, KLength, DLength) Parameters |
LoPrice |
Specifies the value to use as the low in stochastic calculations |
HiPrice |
Specifies the value to use as the high in stochastic calculations |
ClPrice |
Specifies the value to use as the close in stochastic calculations |
KLength |
The number of bars to consider for the average of the fast K line |
DLength |
The number of bars to consider for the average of the D line |
ReturnsA numeric value containing PercentD for the current bar. UsageWhen 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. |