Frank__y Posted October 6, 2010 Report Share Posted October 6, 2010 This might not be the right sub-forum, but I don’t know where to place else. The problem: Once in a while the metatrader platform crashes. An error window occurs or not (depends on the crash). EAs don’t run anymore. The solution: We program an EA that (over-)writes every minute a log-file: still_active.dat. Every time the log-file is updated, windows changes by himself the ‘date modified’ attribute. This is our trigger to decide whether metatrader is still active or not. So far so easy. We only need a second program which checks the still_active.dat file every two minutes and compares the ‘date modified’ attribute with the current windows system time. If the difference is lower than e.g. two minutes, metratrades is still working. Otherwise the second program should kill and restart the metatrader process. Does anyone know such a second program and can help with the ‘anti crash EA’? Or are there better solutions already available? Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.