vx0532:
These parameters are the extern variables that are in the "Stochastic" Indicator. You either use the default values specified in the Indicator and do not specify them in the iCustom() call or specify them all in the iCustom() call.
just now I read a segment code as below:
In this codes, “KPeriod” and “DPeriod” belong to " Stochastic" 's parameters, then I can;'t understand how "iCumtom()" can realized 'KPeriod' and 'DPeriod' and how these two parameters fit ‘Stochastic’ well ( whatever KPeriod and DPeriod are not firsrt parameters in Stochastic's parameters)?
- Learn about iCustom Detailed explanation of iCustom - MQL4 forum
- Look at the Stochastic Indicator code
- Think about what RaptorUK said.
thanks

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
just now I read a segment code as below:
In this codes, “KPeriod” and “DPeriod” belong to " Stochastic" 's parameters, then I can;'t understand how "iCumtom()" can realized 'KPeriod' and 'DPeriod' and how these two parameters fit ‘Stochastic’ well ( whatever KPeriod and DPeriod are not firsrt parameters in Stochastic's parameters)?