I'm trying to see if there is an equivalent calgo parameter to "MODE_SIGNAL" and "MODE_MAIN" which are resident in the MQL4 language.
I'm looking at an mql4 snippet of code and the iStochastic interface seems to have more parameters than the "Indicators.StochasticOscillator" that there is in cAlgo .
I cannot see an equivalent param as MODE_SIGNAL and MODE_MAIN and to set these I assume would return differing values as the MQL I'm looking at has an
Code: Select all
if .... istochastic (x , MODE_MAIN) < istochastic (x , MODE_SIGNAL)Just wondering how I could reproduce this in cAlgo, I'm sure its pretty easy but I'm a newbie when it comes to getting my simple mind around this stuff.
Cheers!
Jon.