could any one please help me doing label or comment

 

i have this code

bool Lines3()
{int Point1 = iBarShift(NULL,0,ObjectGet("Click1",OBJPROP_TIME1));
   int Point2 = iBarShift(NULL,0,ObjectGet("Click2",OBJPROP_TIME1));
  if(Point1==Point2) return(false);
  int X0 = iLowest(Symbol(),Period(),MODE_LOW,MathAbs(Point1-Point2)+1,MathMin(Point1,Point2));
   ObjectDelete("X0");
   ObjectCreate("X0",OBJ_ARROW,0,Time[X0],Low[X0]);
   ObjectSet("X0",OBJPROP_COLOR,Red);
   ObjectSet("X0",OBJPROP_ARROWCODE,1);
 
   int X1 = X0;
   ObjectCreate("X1",OBJ_ARROW,0,Time[X1],Low[X1]);
   ObjectSet("X1",OBJPROP_COLOR,Blue);
   ObjectSet("X1",OBJPROP_ARROWCODE,1);
 
 
   return(true);}

it gets the lowest point between 2 points

i want to add a comment under the arrow "x1"

full code till now here

http://www.mediafire.com/?pbrkxnus1j9pe7s

how can i do it please thanks in advance

 
3ammary:

i have this code

it gets the lowest point between 2 points

i want to add a comment under the arrow "x1"

full code till now here

http://www.mediafire.com/?pbrkxnus1j9pe7s

how can i do it please thanks in advance


Have you tried ObjectSetText
 
3ammary:

i have this code

it gets the lowest point between 2 points

i want to add a comment under the arrow "x1"

full code till now here

http://www.mediafire.com/?pbrkxnus1j9pe7s

how can i do it please thanks in advance

Don't use a Label, use OBJ_TEXT because it is positioned by time and price.
 

done thanks all

new logic if any one need it

http://www.mediafire.com/?4t1dvd3l1ccpcdl

Reason: