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 :)
![MQL5 Code Base MQL5 Code Base](/i/community/logo_mql5_small.png)
https://www.mql5.com/en/docs/standardlibrary/chart_object_classes/obj_arrows
This is the easiest way.
![Documentation on MQL5: Standard Library / Graphic Objects / Arrow Objects Documentation on MQL5: Standard Library / Graphic Objects / Arrow Objects](/i/community/logo_mql5_small.png)
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
![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,
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.