Download MetaTrader 5

How to modify indicator's style from EA

To add comments, please log in or register
Enrico Ballardini
Enrico Ballardini  


 That's my first post here, so if I'm doing it wrong please let me know.


 My EA uses several indicators to do its job, 4 EMAs, 1 SAR and a custom indicator.

I'd like to customize styles so I can distinguish between the 4 EMAs.


using the command  ObjetSetInteger has not effect at all, despite the return value TRUE.

Any suggestion to make those EMAs set properly up in a non-manual method should be great.


Thank you in advance. 

Step on New Rails: Custom Indicators in MQL5
  • 2009.11.23
  • Андрей
I will not list all of the new possibilities and features of the new terminal and language. They are numerous, and some novelties are worth the discussion in a separate article. Also there is no code here, written with object-oriented programming, it is a too serous topic to be simply mentioned in a context as additional advantages for developers. In this article we will consider the indicators, their structure, drawing, types and their programming details, as compared to MQL4. I hope that this article will be useful both for beginners and experienced developers, maybe some of them will find something new.
To add comments, please log in or register