how do i place an arrow anywhere on chart?

To add comments, please log in or register
Nurudeen Amedu
60386
Nurudeen Amedu  

i want to plot an arrow on my chart but am only able to put it below or above a candle, how can i align it to top left or right corner

ObjectCreate(0,"signal2"+Symbol()+objName,OBJ_ARROW,0,0,0);
            ObjectSetInteger(0,"signal2"+Symbol()+objName,OBJPROP_YDISTANCE,50);
            ObjectSetInteger(0,"signal2"+Symbol()+objName,OBJPROP_XDISTANCE,120);
            ObjectSetInteger(0,"signal2"+Symbol()+objName,OBJPROP_COLOR,clrGreen);
            ObjectSetInteger(0,"signal2"+Symbol()+objName,OBJPROP_,OBJ_ARROW_UP);
            
            ObjectSetInteger(0,"signal2"+Symbol()+objName,OBJPROP_XSIZE,10);
            ObjectSetInteger(0,"signal2"+Symbol()+objName,OBJPROP_YSIZE,10);
           
            ObjectSetInteger(0,"signal2"+Symbol()+objName,OBJPROP_ARROWCODE,243);
            
whroeder1
17949
whroeder1  
  1. You can't. Arrows, like text objects, are connected to price.
  2. You can use a label object which is not. Set the font to wingdings, and set the text to character of your choice.
Nurudeen Amedu
60386
Nurudeen Amedu  

thanks

To add comments, please log in or register