Custom Indicators parameters from an expert.

 
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.
 

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.

 

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

Reason: