Download MetaTrader 5

Help: Change the size of an arrow ?

To add comments, please log in or register
BB2013
121
BB2013  

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

Keith Watford
Moderator
10533
Keith Watford  
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
35129
Alain Verleyen  
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
10533
Keith Watford  
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
35129
Alain Verleyen  
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
121
BB2013  

Thanks

To add comments, please log in or register