Heikinashi Candle code for decision making

Dear Friends,

I am novice on Tradetron and was building a strategy using pivots, EMA crossover and Heikin Ashi candles but struggling to handle Heikin Ashi candles.

Basically want code to go long when other conditions are met and:

  1. -1 candle is full body Heikin Ashi green candle (Open = Low, Close-open > High-close)
    2 -2 candle is NOT is full body green candle (open>close or Open>low )

And want code to go short when:

  1. -1 candle is full body Heikin Ashi red candle (Open = High, Close-open > Low-close)
    2 -2 candle is NOT is full body green candle (open>close or Open>low )

Would be great help is you can help.

Thanks & Regards,

Hi,
I can do this. Please get in touch on [email protected]
Cheers