input showline = no;
def openPrice = (if GetTime() crosses above RegularTradingStart(GetYYYYMMDD()) then open else openPrice[1]);
plot op = openPrice;
op.SetDefaultColor(Color.WHITE);
op.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);
op.SetHiding(!showline);
input showbubble = yes;
input bubblemover = 4;
def b = bubblemover;
def b1 = b + 1;
AddChartBubble(showbubble and IsNaN(close[b]) and !IsNaN(close[b1]), op[b], "O-" + AsText(op), color.white);
input showlabel = no;
AddLabel(showlabel, "Open-" + AsText(op), Color.WHITE);