Download MetaTrader 5
To add comments, please log in or register
You can test an application before buying it. Find out how to do that!
ali 2014.11.06 18:11 

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

Carl Schreiber
Carl Schreiber 2014.11.06 18:18  


1) ExpertRemove();

2) ChartClose(0) should work too.

To add comments, please log in or register