Returns the Stochastic D (signal line) from the stochastic oscillator indicator.
Syntax:
1 |
StochasticD[period,%Kperiod,%Dperiod](price1,price2,price3) |
Where:
- period= calculation period of the stochastic oscillator (default period is 14)
- %Kperiod= moving average period used to smoothed the stochastic value (default is 3, 1=Fast, 3=Slow)
- %Dperiod= smoothed period of the signal line of the stochastic oscillator
- “price1”, “price2” and “price3” are optional. By default the stochasticD will be calculated with Close on the High/Low scale (same as the internal platform indicator). But you can adjust it with any other price or data series (e.g. StochasticD[N,K](close,close,close) or StochasticD[N,K](var1,var2,var3) )