Raphael Adetunji Olaiyapo: AIM: I want to add code that draws arrow from inside the Expert advisor/Robot so that the user can use the arrow signal to enter a trade.
Note: I don't want to have a separate indicator for this.
PlotIndexSetInteger(1,PLOT_DRAW_TYPE,DRAW_ARROW,1); ⋮ SetIndexBuffer(1,BuyArrow,INDICATOR_DATA);
- There are no plots or buffer in EAs. Of course your code does nothing.
-
Create an indicator, or read the manual. ObjectCreate - Object Functions - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
How To Ask Questions The Smart Way. (2004)
How To Interpret Answers.
RTFM and STFW: How To Tell You've Seriously Screwed Up.

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
This is MQL5 question.
AIM: I want to add code that draws arrow from inside the Expert advisor/Robot so that the user can use the arrow signal to enter a trade.
Note: I don't want to have a separate indicator for this.
I have tried below code. I created WorkingArrowC()function then I called it in onInit. I checked the chart nothing is showing. Please help me Thank you.