mql4 make a function that constantly run - page 2

 
Mohsen Bjp:

if u want to check ur conditions on everytick you should remove your first steps for chechking new candle status

if u wanna check at a special time u can use onTimer function

here is ur code with 1second timer

Please post only in English on this forum.
          Please don't write ur - it's "you are" or "your" - MQL4 programming forum 2014.03.04