This is a Doji pattern adapted for Heikin Ashi candlesticks. The pattern’s body size can be adjusted in the parameter, in percent compared to the complete range of the candle. It is set to 5 percent but you could change it with the desired body size.
This Doji screener has been coded by request on Italian ProScreener forum.
A wide range of other patterns can be retrieved in another complete indicator that grouped many candlesticks patterns, you can find it here: candlesticks patterns recognition
A Doji pattern is a well known candlestick formation that symbolize a market exhaustion or an indecision of the bull or bear actual trend.
//PRC_Doji Heikin Ashi | screener
//Nicolas @ www.prorealcode.com
//Sharing ProRealTime knowledge
// --- parameters
DojiSize = 5 //x% percent of body size compared to the complete range of the candlestick
if barindex>1 then
xHigh = Max(haOpen, haClose)
xLow = Min(haOpen, haClose)
hahigh = Max(High,xHigh)
halow = Min(Low,xLow)
data=(abs(haopen - haclose) <= (hahigh - halow) * DojiSize/100)
No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.ProRealTime ITF files and other attachments :