Open=Low Pine Script for Tradingview

Copy Below Script and paste it into pine editor.




// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at
// © sandeshk0101
indicator(“OL”, overlay = true)
[do,dh,dl] =, “D”, [open,high,low], lookahead=barmerge.lookahead_on)
day_open= open
day_low= low
//plot(dh, title=”High”,,    linewidth=2, trackprice=true)
//plot(do, title=”Open”, color=color.yellow, linewidth=2, trackprice=true)
//plot(dl, title=”Low”,,  linewidth=2, trackprice=true)
if day_open == day_low,low,”OpenLow”, yloc = yloc.belowbar, color = color.white, style = label.style_arrowup)

Leave a Comment

Your email address will not be published. Required fields are marked *