EA error

 

"EX4 file must be compiled using #property strict directive.File compiled as Debug"


Program Properties (#property) - MQL4 Documentation
  • docs.mql4.com
Program Properties (#property) - MQL4 Documentation
 
Makeprofitsuper:

Hi traders,

My EA works well on my MT4. It also tested without any error. However, when I add product file to sell, it is noted :

"EX4 file must be compiled using #property strict directive.File compiled as Debug"

Please help me. Thanks you very much.

Add #property strict line into your source code somewhere in header. Then re-compile it with Compile command, do NOT run it under debugger.
 
Stanislav Korotky:
Add #property strict line into your source code somewhere in header. Then re-compile it with Compile command, do NOT run it under debugger.
Funcionou!
Reason: