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

ZUP - Universal ZigZag with Pesavento Patterns. Part 2

ZUP - Universal ZigZag with Pesavento Patterns. Part 2

ZUP - Universal ZigZag with Pesavento Patterns. Part 2 - Description of Embedded Tools


avatar
Moderator
5198
stringo 2006.01.23 14:13 
What is price 0? Try to use for example Close[0]+5*Points

avatar
4
anilforex 2006.01.23 21: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
Attached files:
  no-of-signals1.mq4 (1.39 KB)

avatar
4
anilforex 2006.01.23 22: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
Back to topics list  

To add comments, please log in or register