Code: Select all
up=src-(Multiplier*atr)
upPlot1 = plot(up, style=plot.style_linebr, linewidth=2, color=color.green)
upPlot2 = plot(up[1], style=plot.style_linebr, linewidth=2, color=color.red)
up1 = nz(up[1],up)
upPlot3 = plot(up1, style=plot.style_linebr, linewidth=2, color=color.purple)
the red line is exactly equal to the purple one. How this purple line is generated?