string obj_name = PREFIX + " Arrow:" + TimeToStr(Time[i])
will not compile because you have missed the ; at the end of the line.
There does seem to be limitations to these arrows. You can change the colour, but not the size.
They do not print as they are described, in fact there seems to be no difference between OBJ_ARROW_BUY and OBJ_ARROW_SELL
If you are tring to emulate the trade open and close arrows use
ObjectCreate(0,obj_name,OBJ_ARROW,0,Time[i],Low[i]-(WindowPriceMax()-WindowPriceMin())/15); ObjectSetInteger(0,obj_name,OBJPROP_ARROWCODE,1);
for the trade open and arrow code 3 for the close
![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
Results in
![Wrong arrows Wrong arrows](https://c.mql5.com/mql4/forum/2016/04/screenshot_12_1.png)
What am i doing wrong here?