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

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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.