MT4 'Allow DLL imports' setting unchecks itself
I've noticed on several occasions that my mt4pips.com account isn't updating and the last update time can be many hours/days old. After much checking and re-checking of my settings I'm noticing that it seems to be caused from within MT4 Trader platform where the 'Allow DLL imports' setting will uncheck itself.
This also shows up in the MT4 Trader Journal where it will displays the entry 'Expert MT4Sync loaded successfully' but within a few seconds then shows 'Expert MT4Sync removed'. Going back to the MT4Sync EA properties I see that the 'Allow DLL imports' check box is now once again unchecked.
I've tried all the various combinations of rebooting my PC, uninstalling/reinstalling MT4Sync, removing/re-attaching the EA from a chart, attaching the EA to a newly opened chart, re-entered my login password into the MT4Sync login, etc, but without any luck.
Any advice?
Sean.
Support Staff 2 Posted by Stephen C on 23 Jan, 2011 10:39 PM
Hello Sean,
It's expected for that box to be unchecked each time you attach an EA. It's a security feature built in to MT4. This shouldn't affect the EA itself from not syncing. Once you check it as you attach the EA, that's remembered for as long as the EA is on that chart. Once to close that chart, though, it'll go away.
What you need to do is ensure that MT4Sync is attached to one chart and leave that chart open as long as you want trades to by synced. If you close the chart, MT4Sync will stop syncing and can no longer be run. As much as we'd love to be able to support it running in the background, we have yet to find a way to do that, so you've got to leave one chart open at all times with the MT4Sync EA attached to it.
If that's what you're doing already, it may be a situation on our servers itself. Are there any error messages in the trade journal or expert tabs, other than the one saying that it has been removed? If you can, take a screenshot of the Experts tab around the time you notice that it isn't syncing anymore, taking note of any weird messages or something that might indicate an error.
I do apologize for the inconvenience of this issue. Hopefully we can get this resolve very shortly. :-) I look forward to your response.
Stephen
3 Posted by scox on 24 Jan, 2011 01:19 PM
Thanks for the reply Stephen.
I believe I've worked out the solution to this and it would appear that it may not have actually been a 'problem' to begin with, but rather a case of me not fully understanding the finer points of working with EA's in MT4.
Firstly I'll clarify that I always kept the chart with the MT4Sync EA open, so the issue wasn't caused by closing the chart. What seems to happen is that the very action of simply opening the MT4Sync EA's properties in MT4 after it is initially attached causes the 'Allow DLL imports' setting to default to unchecked. The trick, or perhaps more accurately, the procedure I've now seen as required to ensure it remains checked is to remove the MT4Sync EA from the chart, re-attach it to the chart, when the properties box opens check 'Allow DLL imports', then uncheck ' Confirm DDL function calls', and then click OK.
Of course I DO note that this procedure is exactly as per your websites instructions for attaching MT4Sync in the first place, but here is the most critical part (for me at least) to avoiding the problem in the future - once MT4Sync is attached, LEAVE IT ALONE! Since it's only when one re-opens MT4Sync's properties does the 'Allow DLL imports' box become unchecked, which then requires its removal and re-attaching again.
I realise that the more experienced and knowledgeable EA users out there might see this as EA 101 stuff, but I take comfort in that I recognised that I was actually causing my own problem, and then worked out how to resolve it.
I promise to keep my passion fingers well away from it in future.
Sean.