High and Lows
study("Price Action", overlay=true) //Definition of High and Low High = high[1]>high[2] and high[1]>high Low = low[1]<low[2] and low[1]<low //Drawing High and Low plotshape(High, style=shape.triangledown, location=location.abovebar, color = red, title="High",offset=-1) plotshape(Low, style=shape.triangleup, location=location.belowbar, color = green, title="Low",offset=-1)