Platform not using latest compiled code

 

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

 

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

 
Got it! The EA had - somehow - got moved to the include directory. Obviously my mistake somehow
 

Close all and try by removing the old ex4.

A greyed out means the source is not there.



Well, good for you then.