| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Question regarding MQL4 iStochastic and comparative cAlgo https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3290 |
Page 1 of 1 |
| Author: | bodleytunes [ Wed Nov 27, 2013 12:57 pm ] |
| Post subject: | Question regarding MQL4 iStochastic and comparative cAlgo |
Hi peeps, 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 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. |
|
| Author: | milanese [ Wed Nov 27, 2013 1:02 pm ] |
| Post subject: | Re: Question regarding MQL4 iStochastic and comparative cAlg |
Hi Jon , you may take a look at this http://ctdn.com/algos/indicators/show/167 Cheers Tommaso |
|
| Author: | bodleytunes [ Wed Nov 27, 2013 1:20 pm ] |
| Post subject: | Re: Question regarding MQL4 iStochastic and comparative cAlg |
Thanks Tommaso, I will give it a read |
|
| Author: | bodleytunes [ Wed Nov 27, 2013 3:59 pm ] |
| Post subject: | Re: Question regarding MQL4 iStochastic and comparative cAlg |
I'm flummoxed, as that custom stoch inidicator doesn't seem to make reference to the "Main" output. Only the "signal" output is referenced in the "Calculate" void method? Am I supposed to customise this even more and create the main output, possibly creating my own function which returns a value rather than just paints a line? Code: Select all Code: Select all |
|
| All times are UTC | Page 1 of 1 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|