MQL4 - automated forex trading   /  

Forum

how to create an arrow on the price chart

Back to topics list To post a new topic, please log in or register

avatar
4
anilforex 2006.01.23 11:25 
can anybody tell me how to create an arrow on a price chart when a particular condition is met.

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

Sending Trade Signal Via RSS Feed

Sending Trade Signal Via RSS Feed

This is my idea how to send your trade signal as RSS FEEDS , a famous way to communicate with your community's members right now.


avatar
118
rfiche 2006.08.09 22:12 
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:

http://docs.mql4.com/constants/arrows
http://docs.mql4.com/constants/wingdings

I think it will help you.

Regards.
Back to topics list  

To add comments, please log in or register