The solution is very simple and can be applied to any plot you want to display on a chart:
def currentDay = GetDay() == GetLastDay();
That line of code creates a filter that limits any plot to display only on the current day. You need to insert this into your plot statements using an if/then/else statement to filter out the unwanted section of the plots.
Here is the entire code for the VWAP that plots only on the current day:
def vwapValue = reference VWAP().VWAP;
def upper = reference VWAP().UpperBand;
def lower = reference VWAP().LowerBand;
def currentDay = GetDay() == GetLastDay();
plot vwap = if currentDay then vwapValue else Double.NaN;
plot upperBand = if currentDay then upper else Double.NaN;
plot lowerBand = if currentDay then lower else Double.NaN;
vwap.setDefaultColor(getColor(0));
upperBand.setDefaultColor(getColor(2));
lowerBand.setDefaultColor(getColor(4));