Dynamically updateing indicator parameters from within expert

 
Hi guys,

The problem looks something like this:

You have two simple indicators, for ex. two moving averages, and one EA attached to the same chart. It's a very simple EMA cross EA, with some experimental code imported from external DLL that makes it change it's EMA indicator parameter values frequently over time. No big deal.

Now, as the EA is running, when I look at the chart, I'd like to "see" it graphically in realtime, how are the current parameter settings "look". Ideally, I'd do this by changing the two MA indicators values from within the expert whenever a self-change occurs inside the EA.

I'm not sure I explain it clearly, but hope so.

Can you please help me how to approach this?

Levente
 

iCustom() causes the called indicator to draw with the parameters you supply.

Reason: