EA chart and alert heinkin ashi or normal candles

I want to know if I use heinking ashi chart and active expert advisor the code says CLOSE.My question is whether it will calculate heikin ashi close candle or close of normal candle.please guide.