Notice I have updated the title of your question so that is actually describes the context of your request. Please consider this when posting questions in any forum.
The simplest solution to this is to make sure you do NOT included extended hours data on the chart. This code will not work correctly if you include extended hours on the chart. If you need a solution that works when extended hours is included on the chart I will not be able to provide that free of charge in the Q&A Forum.
def newDay = GetDay() <> GetDay()[1];
rec firstBarLow = if newDay then low else firstBarLow[1];
plot targetLow = firstBarLow;