Help! Alerts wont activate on time

 

hey guys 


this is a simple sup/dem indicator which i try to add alerts to it using rectangle obj count method for watching over newly created zones or any deleted zones

sometimes it activates on time and sometimes it wont activate at all or alerts late , what am i doing wrong ?

can anyone help me on this ?

Files:
SupDem.mq4  29 kb