indicator · on price · open source

Bearish Harami indicator

Bearish Harami is a free open-source indicator by @deepwick. Bearish Harami: a large green candle followed by a small red candle contained entirely… Deepwick Script runs a subset of Pine Script.

Deepwick · @deepwickv1Updated 3 Nov 2026▲ 0 users
Running…
Loading chart…

What Bearish Harami does

Bearish Harami: a large green candle followed by a small red candle contained entirely within the prior body. Early warning that buyers are losing conviction.

  • Red bar colour on the harami bar.
  • Combine with a bearish confirmation candle on the next bar for entry.

Source code

Deepwick Script, a subset of Pine Script · read-only

//@version=6
indicator("Bearish Harami", overlay=true)
colorDown = input.color("color.red", "Color  Down")
prevUp = close[1] > open[1]
currDown = close < open
harami = prevUp and currDown and open < close[1] and close > open[1]
barcolor(harami ? colorDown : na)
plotshape(harami, "Bearish Harami", style=shape.triangledown, location=location.abovebar, color=colorDown, text="BH")
alertcondition(harami, "Bearish Harami", "Bearish Harami pattern printed")

Comments

No comments yet.

Sign in to comment.