Draw vertical Line in the bar in specific time

Para adicionar comentários, por favor Faça o login ou registrar
Anderson Muniz
22
Anderson Muniz  

Hello Experts,

How Can I draw a vertical line in the bars in fixed time.

example

bars to be marked with vertical line

minutes: 00:20, 00:50, 01:20, 01:50, 02:20, 02:50,03:20, 03:50, 04:20, 04:50, 05:20, 05:50

and the next bar should be with the same color of the previously bar.


best

Anderson

claudio garini
51
claudio garini  

hello,

i use this void 



void VLine_Obj(string VLine_Name, datetime Pos_datetime , int BookLineWidth , double Line_Style,double Label_Color ) {
      ObjectCreate(_Symbol,VLine_Name,OBJ_VLINE,0,Pos_datetime,0);
      ObjectSetInteger(0,VLine_Name,OBJPROP_COLOR,Label_Color);     
      ObjectSetInteger(0,VLine_Name,OBJPROP_STYLE,Line_Style);
       ObjectSetInteger(0,VLine_Name,OBJPROP_WIDTH,BookLineWidth);
      ObjectSetInteger(0,VLine_Name,OBJPROP_SELECTABLE,true);
       ObjectSetInteger(0,VLine_Name,OBJPROP_BACK,true);
      ObjectSetInteger(0,VLine_Name,OBJPROP_RAY,true);
}
Para adicionar comentários, por favor Faça o login ou registrar