Download MetaTrader 5
To add comments, please log in or register
Search in documentation is available via MetaTrader 5. Search and learn!
Anil Kintala
15
Anil Kintala 2006.01.23 10: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
Slawa
Moderator
6681
Slawa 2006.01.23 13:13  
What is price 0? Try to use for example Close[0]+5*Points
Anil Kintala
15
Anil Kintala 2006.01.23 20:34  
thanks for the help ... but i don see that working... i have attached the script here.. please take a look and suggest if there needs to be something modified.. ..

thanks
anil
Files:
Anil Kintala
15
Anil Kintala 2006.01.23 21:59  
i am sorry guys.. the code is a mess... i found out the entire logic is wrong and i ll code it again...

just don bother to answer...

thanks
anil
Simon Gniadkowski
Moderator
17963
Simon Gniadkowski 2013.12.28 12:50  
Thread start date: 2006.01.23
/
To add comments, please log in or register