What do you mean? heikin ashi is a chart type. What is the strategy you want coding for?
HAC=(OPEN+LOW+HIGH+CLOSE)/4
Buy: CROSSOVER(HAC,EMA(CLOSE,20))=TRUE
Sell: CROSSOVER(EMA(CLOSE,20),HAC)=TRUE
I need buy signal when HA-smoothed bar closed above 20EMA and sell when HA-soothed bar closes below 20EMA
Thanks