ancaido: I didn´t found a way to change or set de color of a technical indicator (as iMA) not using Custom indicators functions. I can not belive there´s no function to do that directly. Is the use os custom indicators functions the only way to do that?
That is correct for the most part.
For any indicator, whether it is an internal one, like iMA() or even when called via iCustom() that does not have inputs that allow setting the visual appearance, like colour, line-type or width, MQL does not offer a direct way of changing those parameters (as far as I know).
The primary reason, is mostly that EAs don't really need the visual form to work, and that necessity only falls upon the "human" sitting in front of the chart. So it is left up to the user to set those values as needed, and not set by the EA.
![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
I didn´t found a way to change or set de color of a technical indicator (as iMA) not using Custom indicators functions.
I can not belive there´s no function to do that directly. Is the use os custom indicators functions the only way to do that?
thank you in advance