Is there a way to set the parameters of a custom indicator from an Expert? I tried
iCustom, but can't find a way to set the parameters of the indicator before calling
it.
- Have a problem with use indicator in EA
- Expert and indicator template files.
- how to set the indicator's input parameter from an Expert Adviser
yes, there is a way - with the iCustom function you can pass the parameters you need to that indicator.
please take a look at the documention of the iCustom function, it is described there well:
https://docs.mql4.com/indicators/iCustom
you can your pass your parameters after the name and before the mode ones...
thank you
Automated
Sorry, I didn't notice. Its the first time I see multiparameters at the middle of parameter list
instead of at the end. Guess I missed the ... at the middle.
Thank you.
Thank you.
you are welcome :)
please note that you must pass the parameters in the same order they are declared in the custom indicator code...
thank you
Automated

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