OBJ_VLINE - page 4

 
You have the data from the last available bar and the data from the object so you should be able to calculate the difference.
 
void VL(string Line)
{
  datetime tim = iTime(Symbol(),1440,0) + 22*3600;

  ObjectDelete(Line);
  ObjectCreate(Line, OBJ_VLINE,0,tim,Ask);
  ObjectSet(Line, OBJPROP_COLOR, clrRed);
  ObjectSet(Line, OBJPROP_STYLE, STYLE_SOLID);
  ObjectSet(Line, OBJPROP_WIDTH, 1);
  ObjectSet(Line, OBJPROP_BACK,True);
}

 VL("VerLine "+(string)Time[0]);

Reason: