Heikin-Ashi Candle in combination with “for example” Stochastic Indicator. The code of the doji on Heikin-Ashi candles gives three possibilities.
//Zigo 24/07/2020
IF BarIndex = 0 THEN
XClose = TotalPrice
XOpen = (Open + Close) / 2
ELSE
XClose = TotalPrice
XOpen = (XOpen[1] + Xclose[1]) / 2
ENDIF
if xclose>xopen then
DRAWCANDLE(XOpen,high,low,XClose) COLOURED(0,100,170,125)
elsif xclose<xopen then
DRAWCANDLE(XOpen,high,low,XClose) COLOURED(250,150,0,125)
endif
Ho=high
L=Low
HAR=(xopen -xclose)
R=Ho-L
if ABS(xopen- xclose)<= 0.15*R then
if har >0 and (open < close)then
DRAWTEXT("H-A Doji Up", barindex, low-0.75*AverageTrueRange[14](close), dialog,standard, 15)coloured(0,250,0,255)
DRAWARROWUP(barindex, low-0.125*AverageTrueRange[14](close))coloured(0,250,0,255)
elsif har <0 and (open>close) then
DRAWTEXT("H-A Doji Dn", barindex, High+0.75*AverageTrueRange[14](close), dialog,standard, 15)coloured(255,150,0,255)
DRAWARROWDOWN(barindex, High +0.125*AverageTrueRange[14](close))coloured(255,150,0,255)
else
DRAWARROW(barindex, close)
endif
endif
return