Having trouble changing size of arrow on screen

 
ObjectCreate("SignalDot",OBJ_ARROW,0,0,0);
ObjectSet("SignalDot",OBJPROP_ARROWCODE,108);
ObjectSet("SignalDot",OBJPROP_COLOR,Gray);
SetIndexStyle("SignalDot",OBJPROP_WIDTH,1);

makes the same size dot as:

ObjectCreate("SignalDot",OBJ_ARROW,0,0,0);
ObjectSet("SignalDot",OBJPROP_ARROWCODE,108);
ObjectSet("SignalDot",OBJPROP_COLOR,Gray);
SetIndexStyle("SignalDot",OBJPROP_WIDTH,6000);

anybody know how to make it work?

 

Are you sure SetIndexStyle is correct there? I would have thought it needed to be ObjectSet. I've not worked with objects much but SetIndexstyle is for an indicator buffer I think.

V

 

Yes, that was exactly the problem. Thanks Viffer!