In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.
study("ET/Candlestick 2",overlay=true) Bullishharami=((open > close) and (close > open) and (close <= open) and (close <= open) and ((close - open) < (open - close))) plotchar(Bullishharami,char='↑',title="Bullishharami",location=location.belowbar ,text="Bullishharami",color=black) Bearishharami=((close > open) and (open >close)and (open <=close) and (open <= close) and ((open -close) < (close - open))) plotshape(Bearishharami,title="Bearishharami", style=shape.arrowdown ,text="Bearishharami",color=red) hangingman=((((close<=open)*close)+ ((close>open)*open))-low)>=abs(close-open)*2 and (((close+open)/2)-low)> (high-((close+open)/2))*2 and abs(close-open)>.01 plotshape(hangingman,title="hangingman", style=shape.arrowdown ,text="hangingman",color=red)