Download MetaTrader 5

Platform not using latest compiled code

To add comments, please log in or register
Having questions to the author of an article? Discuss them on the Forum!
Peter Williams
344
Peter Williams 2014.04.15 11:32 

I have an EA which has been working in various forms for a long time.

The EA has several #include <.....................> statements including one file with all my variables.


This morning I changed a variable and recompiled - all appeared fine in the development - i.e. it listed the includes and compiled with

0 Error()s and 0 Warning(s).


When I switch to the MT4 platform (Alpari demo account) the 'compiled EA' is greyed out (as would be the case if an error had been generated) and the changed variable(s) are as per original.

I have closed everything, rebooted and tried again - No Change

I created an error and my compile resulted in an Error (as expected)

I then corrected the error, recompiled and again the compilation appeared to be correct but the EA remained greyed out.


No idea what this could be

Peter Williams
344
Peter Williams 2014.04.15 11:56  

I can remove the EA from the chart and reload the EA by dragging or double clicking the greyed out EA but still uses an old compilation.

The EA is running - i.e. log / test data files are being written

Peter Williams
344
Peter Williams 2014.04.15 12:30  
Got it! The EA had - somehow - got moved to the include directory. Obviously my mistake somehow
SYED NAUFAL GADDAFI
1401
SYED NAUFAL GADDAFI 2014.04.15 12:30  

Close all and try by removing the old ex4.

A greyed out means the source is not there.



Well, good for you then.

To add comments, please log in or register