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.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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.