how to create an arrow on the price chart
ObjectCreate("ObjectName", OBJ_ARROW, 0, Time[MyBar]); ObjectSet("ObjectName", OBJPROP_ARROWCODE, 74);The code above will show a smile face arrow (wingding code 74) on your chart.
Available codes:
https://docs.mql4.com/constants/arrows
https://docs.mql4.com/constants/wingdings
I think it will help you.
Regards.
for eg... if the ADX value isl less than +DI there should be an arrow on the price chart at this particular price.
I am tryin to use ObjectCreate("arrowi",OBJ_ARROW,0,timeofbar,0) but its of no use.
When i run the script, i can see the output on the log but there are no arrows appearing on the price chart.
thanks in advance
anil