Jump to content

⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

Recommended Posts

Posted

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

×
×
  • Create New...