indicator · on price · open source

Piercing Line indicator

Piercing Line is a free open-source indicator by @deepwick. Piercing Line: a bearish candle followed by a bullish candle that opens below the prior low… Deepwick Script runs a subset of Pine Script.

Deepwick · @deepwickv1Updated 3 Nov 2026▲ 0 users
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")

Comments

No comments yet.

Sign in to comment.