hi would like to ask if any one knows how to add a label in orizontal line i have a code the show arizontal line at Midnigth open hoa can have label saying Midnigth ope
thank you
thank you
Code:
def yopen = if secondsfromTime(0000) == 0
then open
else yopen[1];
def bn = barnumber();
def ybar = if secondsfromTime(0000) == 0
then bn
else double.nan;
input showOnlyLastPeriod = no;
plot popen = if showonlylastPeriod and bn < highestall(ybar)
then double.nan
else yopen;
popen.setpaintingStrategy(paintingStrategy.HORIZONTAL);
Last edited by a moderator: