conditional colour change

 
Hello everybody. I am new in MQL4. I want to have different colours under certain conditions e.g. If CLOSE is higher than the HIGH 4 bars ago the bar/candle to be Green and if the CLOSE is lower than the LOW 4 bars ago to be red. Can anyone show me how to do this?
 
panacos:
Hello everybody. I am new in MQL4. I want to have different colours under certain conditions e.g. If CLOSE is higher than the HIGH 4 bars ago the bar/candle to be Green and if the CLOSE is lower than the LOW 4 bars ago to be red. Can anyone show me how to do this?
Heikin Ashi
 
panacos:
Hello everybody. I am new in MQL4. I want to have different colours under certain conditions e.g. If CLOSE is higher than the HIGH 4 bars ago the bar/candle to be Green and if the CLOSE is lower than the LOW 4 bars ago to be red. Can anyone show me how to do this?
start with Download the newly updated GRaB 2.0 plug in for MT4 | Official website for trader and author Raghee Horner and modify
Reason: