Is it possible to change the value of an indicator using an EA?
-
Hi, is it possible to change the value of an indicator using an EA?
I want my EA to change a "int" value used on a indicator.
Thanks.
-
Surely you can take that value and store it as a variable at some point of your EA? Modifying a variable is simple.
-
Hey roar,
The problem is that this is not an indicator I use on some condition or anything like that. Here is what I need to change:

I need to change the "Step size" value. I'll use a value calculated from ATR.
Changing this value will make the offline renko chart change, where my "real" EA runs. I am making a secondary EA just to control the renko size.
If I put the value I want on a Variable, how do I apply that to the indicator?
-
@rafaelgrecco
I must admit I'm not expert on custom indicators, but can it be changed here, in the "My Indicators" menu?

-
roar, thanks for trying to help.
I think I am not explaining correctly what I need to do (maybe it's not possible).
I'll try to think of something else.
-
Create a variable with some name. Then modify it. And then use it.
That blue thing can be put there when you right-click on the input field. I used Moving Average for the screenshot, but it can be anything else. But ATR has a little bit different values.