indicator · on price · open source
Piercing Line indicator
Piercing Line is a free open-source indicator. Piercing Line: a bearish candle followed by a bullish candle that opens below the prior low… Deepwick Script runs a subset of Pine Script.
Running…
Loading chart…
What Piercing Line does
Piercing Line: a bearish candle followed by a bullish candle that opens below the prior low and closes above the midpoint of the prior body. Bullish reversal signal.
- Green bar colour on the bullish confirmation bar.
- Strongest at support zones or after a sharp decline.
Source code
Deepwick Script, a subset of Pine Script · read-only
//@version=6
indicator("Piercing Line", overlay=true)
colorUp = input.color("color.green", "Color Up")
pl = close[1] < open[1] and close > open and open < low[1] and close > (open[1] + close[1]) / 2
barcolor(pl ? colorUp : na)
plotshape(pl, "Piercing Line", style=shape.triangleup, location=location.belowbar, color=colorUp, text="PL")
alertcondition(pl, "Piercing Line", "Piercing Line pattern printed")
No comments yet.
Sign in to comment.