Download MetaTrader 5
To add comments, please log in or register
Code Base will help you in mastering your theoretical skills. Come and learn!
BB2013
120
BB2013 2013.11.24 00:04 

Help: In a code for chart window indicator, is possible to change the size of an arrow ?

Keith Watford
Moderator
7904
Keith Watford 2013.11.24 00:43  
Variopinto:

Help: In a code for chart window indicator, is possible to change the size of an arrow ?


Yes, use ObjectSet and OBJPROP_WIDTH
Alain Verleyen
Moderator
28551
Alain Verleyen 2013.11.24 10:37  
Variopinto:

Help: In a code for chart window indicator, is possible to change the size of an arrow ?

Use SetIndexStyle(), the fourth parameter is for the size of the arrow :

   SetIndexStyle(x,DRAW_ARROW,EMPTY,5);
Keith Watford
Moderator
7904
Keith Watford 2013.11.24 11:02  
angevoyageur:

Use SetIndexStyle(), the fourth parameter is for the size of the arrow :



Of course, I forgot about that. My reply was thinking about the indi using objects, not buffers.
Alain Verleyen
Moderator
28551
Alain Verleyen 2013.11.24 12:00  
GumRai:

Of course, I forgot about that. My reply was thinking about the indi using objects, not buffers.
I was favored because he had first asked the question on mql5.com forum
BB2013
120
BB2013 2013.11.25 08:31  

Thanks

/
To add comments, please log in or register