EX4 file must be compiled using #property strict directive.

 

EX4 file must be compiled using

#property strict directive.

I am getting above error while uploading new version of EA to market for MT4.

Can you let me know what I need to do resolve the issue.

 

Exactly that. Ensure that it is added to your MQL file

#property strict

Recompile, fix the problems, then upload again.

 
kcfve123: EX4 file must be compiled using
Compile the MT4
 

#property strict is supposed to ensure certain coding rules are adhered to.

 

I have same problem. Inserting the string i hold 22 warnings and 0 errors compiling the file. But when i send the file it does not pass the validation giving me 22 errors..... 

 

Fix the warnings and then try to upload again.

 
honest_knave:

Exactly that. Ensure that it is added to your MQL file

Recompile, fix the problems, then upload again.


Merci.