sleep indefinitely

 
hello 
is there any way to make the sleep indefinitely?
actually i am running two EAs on 2 different charts and first ea is only needed during the first few seconds of initialization, after that i dont need that Ea anymore
i know  " ExpertRemove(); " function but it removes the EA , i dont want it removed , i actually want it to stay on chart till the mt4 restarts, and when the mt4 restarts the ea do its thing during the first few seconds and then sleep again till the mt4 restarts again, and the follow this drill till the end of time :D

i know there is  Sleep();   function but i wanted to know if there is anyother way? cuz this function requires to define the sleep interval in milliseconds , which is not exactly what i am looking for.
 

No if you only run code in OnInit() function then you do not need to set a timer.

 
Comments that do not relate to this topic, have been moved to "Off Topic Posts".
Reason: