Home | Trading Alchemy Manual | Alchemy Functions IndexAlchemyPercentDSlowS (Function)This is a Stochastic function, smoothed by use of a moving average technique. The value returned represents the D line in the Stochastic indicator. AlchemyPercentDSlowS returns the value for the Stochastics Type 1 Stochastic DSlow line of the Alchemy %DsHook indicator. AlchemyPercentDSlowS (FirstBar, LoPrice, HiPrice, ClPrice, KLength, DLength, DsLength) Parameters |
FirstBar | Specifies the bar number of the first bar calculated |
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 |
DsLength | The number of bars to consider for the average of the DSlow line |
ReturnsA numeric value containing the DSlow 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. |