the indicator itself is made up of 2 lines.
Line 0 = the main line which is a smoothed stoch, aka "slow stochastic". This line is referred to as the %K line. The smoothing factor is %D.
Line 1 = the signal line. This is simply a moving average of the %K. The period of the ma is the signal parameter in the indicator.
In MQL4, when you want to gather data from the indicator funciton, you must specify which line for obvious reasons.
Line 0 = the main line which is a smoothed stoch, aka "slow stochastic". This line is referred to as the %K line. The smoothing factor is %D.
Line 1 = the signal line. This is simply a moving average of the %K. The period of the ma is the signal parameter in the indicator.
In MQL4, when you want to gather data from the indicator funciton, you must specify which line for obvious reasons.
Can someone please explain this better? There are 3 parameters that must be entered for iStochastic: kperiod, dperiod, and "slowing"
The %K line by definition is just 100*(close-L)/(H-L). Here the High H and Low L are found over kperiod bars.
The %D line is a dperiod moving average of the %K line, right?
So what exactly is the "slowing"parameter? How exactly is this applied to the main line (%K line), and/or the signal line (%D line)?
Is it the case that the Main Line (%K) is just 100*(close-L)/(H-L) without any other averaging? Or is the slowing parameter somehow used to tweak this?

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
when using iStochastic() , we have to inform the "mode" parameter.
this parameter get two values :
MODE_MAIN 0 Base indicator line.
MODE_SIGNAL 1 Signal line.
What is the meanings of "Base indicator line/Signal line" ?
thanks,
avi