indicator · on price · open source
Tweezer Top indicator
Tweezer Top is a free open-source indicator by @deepwick. Tweezer Top: two candles with nearly identical highs (within 10% of ATR), the first bullish… Deepwick Script runs a subset of Pine Script.
Running…
Loading chart…
What Tweezer Top does
Tweezer Top: two candles with nearly identical highs (within 10% of ATR), the first bullish and the second bearish. The equal highs mark strong resistance.
- Red bar colour on the second candle.
- Most reliable after an uptrend and at obvious resistance zones.
Source code
Deepwick Script, a subset of Pine Script · read-only
//@version=6
indicator("Tweezer Top", overlay=true)
colorDown = input.color("color.red", "Color Down")
highEq = math.abs(high - high[1]) < ta.atr(14) * 0.1
prevUp = close[1] > open[1]
currDown = close < open
tw = highEq and prevUp and currDown
barcolor(tw ? colorDown : na)
plotshape(tw, "Tweezer Top", style=shape.triangledown, location=location.abovebar, color=colorDown, text="TT")
alertcondition(tw, "Tweezer Top", "Tweezer Top pattern printed")
No comments yet.
Sign in to comment.