Hi, I have this code that plots the open of pre market but I would like to be able to plot a line on the closing price of after hours trading. Any help on this would be appreciated, thanks
Code:
def day = GetDay();
def PMopenBar = day != day[1];
def PMOpen = if PMopenBar then open else PMOpen[1];
plot PMO = PMOpen ;
PMO.SetDefaultColor (CreateColor (234, 136, 255));
PMO.SetPaintingStrategy(PaintingStrategy.HORIZONTAL);