Heiken Ashi candles

 

is it possible to look at certain heiken ashi candles in mql4. I tried calling the indicator and then using the i close function for the specific candles but using i close it take the default candle sticks, im not to familiar with buffers so im not sure if that is thee solution. Any help is much appreciated. 

 

You should encapsulate your iCustom calls to make your code self-documenting.
          take candle color hekin ashi - MQL4 and MetaTrader 4 #8-9 or #1 (2018.02.21)

 
William Roeder:

You should encapsulate your iCustom calls to make your code self-documenting.
          take candle color hekin ashi - MQL4 and MetaTrader 4 #8-9 or #1 (2018.02.21)

would the same concept work if i just used something like this after calling the indicator, i dont fully understand encapsulate and self documenting 

PRICE haOpen  = Heiken_Ashi(HA_OPEN, 1);
PRICE haClose = Heiken_Ashi(HA_CLOSE, 1);