Need help in heiken ashi ea

 

help me to add code if hieken ashi bar change color close all  

i use this code 

bool heiken30()

{

double Heiken_op30 = iCustom(NULL,30,"Heiken Ashi",Red,White,Red,White,2,0);

double Heiken_cl30 = iCustom(NULL,30,"Heiken Ashi",Red,White,Red,White,3,0);


if(Heiken_op30 < Heiken_cl30)

return(true);

else if (Heiken_op30 > Heiken_cl30)

return (false);

return(EMPTY_VALUE);


Reason: