Download MetaTrader 5

EA error

To add comments, please log in or register
1000 developers are involved in Freelance service activity. Sign up!
Tan Phan Ngoc
1332
Tan Phan Ngoc 2014.08.26 11:40 

"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
Stanislav Korotky
17925
Stanislav Korotky 2014.08.26 11:42  
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.
Leandro Santana
176
Leandro Santana 2016.07.01 19:29  
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!
To add comments, please log in or register