Period Separator Question

 

Can anyone show me how to place a VLine at the start of the day, for a specific time. I am on EST and would like to show, on my chart, the start of the day, which is midnight. My chart time is 5 hours ahead of EST.

ObjectDelete("DayStart"); ObjectCreate("DayStart",OBJ_VLINE,0,Time[0],0); ObjectSet("DayStart", OBJPROP_COLOR, Orange); Above is the code I generally use, for VLine. I can change the value of Time[0] to a different bar number, but was hoping that there was a way to set VLine by time.

Thanks!

Reason: