I'm trying automatic plot targets on tradingview, like this image
but I failed, the TP will Recurrence several times.
Can anyone help me?
plotshape( (close>TP1_value) , title="TP1_Reached", style=shape.arrowup, location=location.belowbar, color=green, transp=0, text="TP1_Reached", textcolor=green, size=size.large)


