Professional Documents
Culture Documents
Ha-Open Ha-Open: High 1 Day Ago Ha-High and Latest
Ha-Open Ha-Open: High 1 Day Ago Ha-High and Latest
and latest volume > 100000 and latest avg true range ( 1 ) > latest avg true range ( 14 ) and latest rsi ( 14 ) > 50 ) )
11
bullishEC = ((ha_open[2] == ha_high[2]) and (ha_close[1] >= ha_close[2]) and (ha_high[1] >= ha_high[2]) and (ha_low[1]
>= ha_low[2]) and (ha_close >= ha_close[1]) and (ha_high >= ha_high[1]) and (ha_low >= ha_low[1]) and (ha_open ==
ha_low))
bearishEC = ((ha_open[2] == ha_low[2]) and (ha_close[1] <= ha_close[2]) and (ha_high[1] <= ha_high[2]) and (ha_low[1]
<= ha_low[2]) and (ha_close <= ha_close[1]) and (ha_high <= ha_high[1]) and (ha_low <= ha_low[1]) and (ha_open ==
ha_high))
bullishEC = ((ha_close[4] < ha_close[5]) and(ha_close[3] < ha_close[4]) and(ha_close[2] < ha_close[3]) and (ha_close[1] <
ha_close[2]) and (ha_close > ha_close[1]))
bearishEC = ((ha_close[4] > ha_close[5]) and(ha_close[3] > ha_close[4]) and(ha_close[2] > ha_close[3]) and (ha_close[1]
> ha_close[2]) and (ha_close < ha_close[1]))