Add an ARROW to custom indicator

To add comments, please log in or register
yair319732
11
yair319732  

Hi guys , I wonder if someone can help me to add an arrow every time that the indicator change his color.

Files:
William Roeder
23266
William Roeder  

Help you with what? You haven't stated a problem, you stated a want. Show us your attempt (using the CODE button) and state the nature of your problem.
          No free help 2017.04.21

Or pay someone. Top of every page is the link Freelance.
          Hiring to write script - General - MQL5 programming forum 2018.05.12

yair319732
11
yair319732  
I was trying to do it myself but didn't succeed , thanks anyway :)
tomasz.maciejak
20
tomasz.maciejak  
yair319732:
I was trying to do it myself but didn't succeed , thanks anyway :)
You can do it using ObjectCreate with object type OBJ_ARROW. If you lookup ObjectCreate definition you will find all details needed
Keith Watford
Moderator
25599
Keith Watford  
tomasz.maciejak:
You can do it using ObjectCreate with object type OBJ_ARROW. If you lookup ObjectCreate definition you will find all details needed

Generally a bad idea in an indicator. You can't access an object with iCustom.

It is usually better to use a buffer.

To add comments, please log in or register