Nice, but almost examples don't fit the 50 procent rule, that's why many people are confused. So is this 50 procent rule valid or not part of your method any longer ?
Problem solved. By coincidence I opened another mq4 file and there the open of the candle was checked by Time[0] and compared with a variable. I have copied this in my mq4 file and it works, everything has the color it should have so I am happy. ...