I've an horrible problem that suddenly happened this morning and I can't fix it:
When I launch the MT4 terminal all my .ex4 EA files are automatically deleted.
Of course, if I shut-down the terminal and just compile from MetaEditor, everything is fine EX4 are well in the expert folder.
If I launch the terminal, 3 seconds after, all files from experts\ folder which have the EX4 extension are deleted (physically) !!!!
I tried to delete the mqlcache.dat file and restart all but same thing.
I'm totally DESPERATE, any help will be appreciated any help.
all removed... MACD Sample and MA too.
This problem seems to be related to a new build (507) which was (silently !) released over the weekend.
There have already been a number of posts about it already (https://forum.mql4.com/56286/page2) and I think the only solution is abug fix is required to version 507.
I have spent all morning trying to get to the bottom of this - thought it was down to some new EA code I had written but that was not the case.
The previous posts tie in with what I have been seeing - namely include files (.mqh) causing problems.
I have included two files (inline below) which replicate the issue - the EA : "v507 Issue Ea.Mq4" and the include file : "DuffHeader.mqh".
1. Copy DuffHeader.mqh into experts/include.
2. Copy v507 Issue Ea.Mq4 to experts.
The version 'as is' actually compiles, but when you comment out the function at the bottom of v507 Issue Ea.Mq4 like so:
and remove the comment characters in front of the include statement at the top of the file:
then re-compile, MT4 either immediately terminates or gives an error message :
2013.06.24 14:27:36 v507 Issue Ea EURUSD.lmx,M1: executable file is corrupted. Please recompile it.
Hopefully the MQ4 developers are on the case at the moment !
Files: 1. "v507 Issue Ea.Mq4.mqh"
Files: 2. "DuffHeader.mqh"
// in header file - this causes 'executable file is corrupted. Please recompile it.' error message in Experts log of terminal
Please read some other posts before posting . . .
Please edit your post . . . please use the SRC button to post code: How to use the SRC button.
If you do this it compiles and runs . .
Have also a problem with this version 22.214.171.1247
If i create a new EA also with empty EA
compiler reports 0 error(s) , 0 warning(s)
If i go to my account the EA is uncolored
EA's colored and changing becomes grey out not working anymore
can't attach it to chart and can't open them anymore in strategytester
Metatrader is correctly installed not installed in \program files*
IT is a BUG
Just Closed my Metatrader(s) and have it reopened it has now version 126.96.36.1999
The MetaEditor is now doing coloring correctly compiled EA's.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.