Heikin Ashi Doji screener

Category: Screeners By: Nicolas Created: January 10, 2017, 10:23 AM
January 10, 2017, 10:23 AM
Screeners
16 Comments

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
//10.01.2017
//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
 haclose=(open+close+low+high)/4
 haopen=(haopen[1]+haclose[1])/2
 xHigh = Max(haOpen, haClose)
 xLow = Min(haOpen, haClose)
 hahigh = Max(High,xHigh)
 halow = Min(Low,xLow)
endif

data=(abs(haopen - haclose) <= (hahigh - halow) * DojiSize/100)

screener [data]

 

Download
Filename: PRC_Doji-Heikin-Ashi.itf
Downloads: 615
Nicolas Master
I created ProRealCode because I believe in the power of shared knowledge. I spend my time coding new tools and helping members solve complex problems. If you are stuck on a code or need a fresh perspective on a strategy, I am always willing to help. Welcome to the community!
Author’s Profile

Comments

Logo Logo
Loading...