//plot works by combining the isMonday function combined with the price to plot the line for that given condition h1= plot(isMon() and highPrice ? highPrice: na, title="h1", style=circles, linewidth=1, color=white) h2= plot(istue() and highPrice ? highPrice: na, title="h2n", style=circles, linewidth=1, color=red) h3= plot(iswed() and highPrice ? highPrice: na, title="h3", style=circles, linewidth=1, color=white) h4= plot(isthr() and highPrice ? highPrice: na, title="h4", style=circles, linewidth=1, color=red) h5= plot(isfri() and highPrice ? highPrice: na, title="h5", style=circles, linewidth=1, color=blue)