1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//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 and barindex > average [ 50 ] )
screener [ data]
Hi, I was wondering how to adjust the HA Doji screener by @Nicolas into a screener which scans for multiple consecutive HA Dojo/spinning top candles in a row. Does anyone has a clue?