Heikin-Ashi Candlesticks use the open-close data from the prior period and the open-high-low-close data from the current period to create a combo candlestick.
[HEIKINASHI] BUY{ SET hv = MAX(CLOSE,10); CLOSE > hv and REF(CLOSE,2) < REF(OPEN,2) and REF(CLOSE,1) > REF(OPEN,1) and CLOSE > OPEN and CLOSE > REF(CLOSE,1);} LONGEXIT{ REF(CLOSE,1) < REF(OPEN,1);} SELL{ SET Lv = MIN(CLOSE,10); CLOSE < lv and REF(CLOSE,2) > REF(OPEN,2) and REF(CLOSE,1) < REF(OPEN,1) and CLOSE < OPEN and CLOSE < REF(CLOSE,1);} SHORTEXIT{ REF(CLOSE,1) > REF(OPEN,1);}