The problem is the scale, you are using the location of the plotshape
above the bar location=location.abovebar
this is similar to High price (0.8739 not 30 or 70), which would be at a different scale from 0
to 100
of the RSI. Thus, you wish use 30 and 70 instead with location.absolute
. See documentation
plotshape(condition?70:na, title="QQE long", text="L", textcolor=color.white, style=shape.triangleup, location=location.absolute, color=color.rgb(0,255,0,20), size=size.tiny)
plotshape(condition?30:na, title="QQE short", text="S", textcolor=color.white, style=shape.triangledown, location=location.absolute, color=color.rgb(255,0,0,20), size=size.tiny)
CLICK HERE to find out more related problems solutions.