النتائج 1 إلى 2 من 2
الموضوع: ممكن مساعدة بسيطة
- 15-04-2012, 03:48 PM #1
ممكن مساعدة بسيطة
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
- 15-04-2012, 04:28 PM #2
done thanks all
http://www.mediafire.com/?4t1dvd3l1ccpcdl