Looping EA with different values

 

Hi all, 

Is there a way to run your EA and let it change the indicator values and run again? 

Basically letting it loop and running the chart against different indicator values? I'm changing the values manually now, but I'm looking for a way to automate this. 

Just need a push into the right direction. I have not been able to find anything about this

Thanks all

 

Just get the value(s) of the indicator(s) into EA/indicator (using iCustom) and do what you want with it.

You should encapsulate your iCustom calls to make your code self-documenting.
          Detailed explanation of iCustom - MQL4 programming forum #33 2017.05.23