Download MetaTrader 5

What is the meanings of "Indicators line identifiers" when using iStochastic()

To add comments, please log in or register
Add our channel to friends and follow the news!
Forex Trader
114257
Forex Trader 2005.11.12 09:57 
Hi,
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
Forex Trader
114257
Forex Trader 2005.11.13 12:42  
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.
Forex Trader
114257
Forex Trader 2010.05.25 22:07  

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?

To add comments, please log in or register