CiMA changing indicator colour
You can't change indicator's colors from an EA.
ok thank you for reply :)
angevoyageur:
You can't change indicator's colors from an EA.
You can't change indicator's colors from an EA.
hi Alain,
if we use " ChartIndicatorAdd " in our indicator, in this case can change as we want ?
TIMisthebest:
hi Alain,
if we use " ChartIndicatorAdd " in our indicator, in this case can change as we want ?
No, the standard indicator's colors can't be changed by an EA.
To do that you need to change the indicator's code in some way. Either by using input parameters for colors or any other technique.
Hi guys below is a code for a simple moving average add to chart expert. How would I change the colour of the indicator from the code??? What if I had several indicators such as bollinger bands, momentum in a sub-window and two moving averages what would be the easiest way to change the colour???
Is there anyway to do it by calling a method of the "_EMA" variable???
Thank you for help again.