iCustom and parameters

 
Hi,

I use iCustom in my EA to call one of my indicators. Is there a way to use for this indicator the parameters that are actually used on the chart when this indicator is currently displayed ? I would like that if I change one param of the indicator on screen, it is automatically also used by my EA.

Thanks

N.
 
Hi,

I use iCustom in my EA to call one of my indicators. Is there a way to use for this indicator the parameters that are actually used on the chart when this indicator is currently displayed ? I would like that if I change one param of the indicator on screen, it is automatically also used by my EA.

Thanks

N.

See "global variables" in MQL Navigator.
 
Thank you.

But is a global variable global to the application or to the chart ? If it is to the application this is a problem because I could have several charts with the same indicator...

And the problem is also that one of my parameters is a string... Global variables don't handle strings.

N.
Reason: