yes!
1) ExpertRemove();
2) ChartClose(0) should work too.

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
Hello Everyone,
I was wondering is it possible to make an EA that runs its deinit function at certain given times. I usually forget to remove my EA :P and that makes me a lot of trouble.
so I thought I have to make an extern DateTime to run the deinit function without removing the EA manually.
Is it possible or I'm just wasting my time on this?
Is it possible to code an EA that removes itself at the given time?
Thanks in advance