draw a trendline

 

I would like to draw a trendline which has its first anchor point shifted from the current bar. Look at the picture below:



 
   ObjectCreate("id",OBJ_TREND,0,tme1,prc1, tme2, prc2); 
   ObjectSet("id",OBJPROP_COLOR,clrWhite);
   ObjectSet("id",OBJPROP_STYLE,STYLE_SOLID);
   ObjectSet("id", OBJPROP_RAY, false);
   ObjectSet("id",OBJPROP_WIDTH,1);
 
DavidHuynh:

I would like to draw a trendline which has its first anchor point shifted from the current bar. Look at the picture below:




Time[0]+5*PeriodSeconds()

 5  = number of bars for shear.

Reason: