Heiken Ashi icustom indicator

 
I am trying to figure out on how to code a simple Heiken Ashi EA with it's default settings. All I get are modified lines of code. Could someone kindly assist me on how accomplish this. I want to use it to buy when the indicator is blue and sell when the indicator changes to white.

Thank you, I will really appreciate.
 
  1. You don't get "modified lines of code" You write them.
  2. How to accomplish what? You haven't stated a problem. You haven't stated a want.
  3. There are no colors (blue or white.) Just the values of the indicator. Get them and do what you want with them.

    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

Reason: