Drawing object in EA

 

Hi,

Probably it is an old question but I could not find a good answer. I am writing an Expert Advisor based on MAs. I want to draw "cross" or "up and down" arrow at the crossing of MAs. Also, I want to write the crossing price. How can I do it? I could do it on an Indicator but not on Expert Advisor.

Thanks.

 
manojg:

Hi,

Probably it is an old question but I could not find a good answer. I am writing an Expert Advisor based on MAs. I want to draw "cross" or "up and down" arrow at the crossing of MAs. Also, I want to write the crossing price. How can I do it? I could do it on an Indicator but not on Expert Advisor.

Thanks.


Hi, I hope you can find it at code base :)

https://www.mql5.com/en/code

MQL5 Code Base
MQL5 Code Base
  • www.mql5.com
MQL5 Source Code Library for MetaTrader 5
 
Yohana Parmi:

Hi, I hope you can find it at code base :)

https://www.mql5.com/en/code


Thanks.

 
Documentation on MQL5: Standard Library / Graphic Objects / Arrow Objects
Documentation on MQL5: Standard Library / Graphic Objects / Arrow Objects
  • www.mql5.com
Standard Library / Graphic Objects / Arrow Objects - Reference on algorithmic/automated trading language for MetaTrader 5
Reason: