HELLO
i m looking for an indic who has ssame function as candle type in trading view for proreal :
Candle Type 1 – Inside Candle
Candle Type 2- Up or Down Candle
Candle Type 3 – Engulfing Candle
thks
JSParticipant
Senior
Hi,
Hereby the candle type indicator…
If High < High[1] and Low > Low[1] then
Type = 1
ElsIf High > High[1] and Low < Low[1] then
Type = 3
ElsIf Close > Open or Close < Open then
Type = 2
EndIf
DrawText("#Type#", BarIndex, Low-Close*0.003, SansSerif,Bold,15)
Return