indicator · on price · open source
Evening Star indicator
Evening Star is a free open-source indicator. Evening Star: a 3-bar bearish reversal — large bullish bar, small indecision bar, then a… Deepwick Script runs a subset of Pine Script.
Running…
Loading chart…
What Evening Star does
Evening Star: a 3-bar bearish reversal — large bullish bar, small indecision bar, then a strong bearish bar that closes below the midpoint of the first.
- Red bar colour on the confirmation bar.
- Strongest when the third bar closes well into the first bar's body.
Source code
Deepwick Script, a subset of Pine Script · read-only
//@version=6
indicator("Evening Star", overlay=true)
colorDown = input.color("color.red", "Color Down")
es = close[2] > open[2] and math.abs(close[1] - open[1]) < (high[1] - low[1]) * 0.3 and close < open and close < (open[2] + close[2]) / 2
barcolor(es ? colorDown : na)
plotshape(es, "Evening Star", style=shape.triangledown, location=location.abovebar, color=colorDown, text="ES")
alertcondition(es, "Evening Star", "Evening Star pattern printed")
No comments yet.
Sign in to comment.