Download MetaTrader 5

Size of an arrow

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

Hi,


Is there any command or parameter to change the size of a symbol ?

I use:

SetIndexStyle(1,DRAW_ARROW);
SetIndexArrow(1,232);
To draw an arrow (code 232) in the buffer 2


Thanks

Simon Gniadkowski
Moderator
18021
Simon Gniadkowski  
Variopinto:

Hi,


Is there any command or parameter to change the size of a symbol ?

I use:

SetIndexStyle(1,DRAW_ARROW);
SetIndexArrow(1,232);
To draw an arrow (code 232) in the buffer 2

Use ObjectSet() with OBJPROP_WIDTH
BB2013
120
BB2013  
RaptorUK:
Use ObjectSet() with OBJPROP_WIDTH



Thanks,


But what I write in "name" in Object Set ?

bool ObjectSet( string name, int index, double value)

Simon Gniadkowski
Moderator
18021
Simon Gniadkowski  
Variopinto:



Thanks,


But what I write in "name" in Object Set ?

bool ObjectSet( string name, int index, double value)

Sorry I mis read your original post. What I replied was wrong.
Simon Gniadkowski
Moderator
18021
Simon Gniadkowski  
Try setting a width value in your SeIndexStyle() call
BB2013
120
BB2013  
excelent !
To add comments, please log in or register