Download MetaTrader 5

Platform not using latest compiled code

To add comments, please log in or register
Peter Williams
353
Peter Williams  

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
353
Peter Williams  

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
353
Peter Williams  
Got it! The EA had - somehow - got moved to the include directory. Obviously my mistake somehow
Syed Naufal Gaddafi
1475
Syed Naufal Gaddafi  

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