Download MetaTrader 5
To add comments, please log in or register
Register at MQL5.community and leave your comments!
Amin Asgari Hezaveh
15326
Amin Asgari Hezaveh 2014.06.22 07:02 

Hi

I want put my ea to mql market .but , i have this error  (EX4 file must be compiled using #property strict directive)

I've added this code at the beginning of EA

#property version     "1"
#property description "my description"
#property description my description"
#property description "my description"
#property description "my description"

or

property copyright   "2014, my name"                                     // copyright
#property version     "1.00"                                                      // Version
#property description "This Expert Advisor is based on scalp." // Description (line 1)
#property description "The input parameters are optimized for EURUSD M5."         // Description (line 2)


but now , i have this error  (EX4 file must be compiled using #property strict directive)

please help

sorry for my English

honest_knave
949
honest_knave 2014.06.22 08:31  

Try adding #property strict then compiling.

You will most likely have a number of warnings and errors to resolve after doing so.

#property version     "1"
#property description "my description"
#property description my description"
#property description "my description"
#property description "my description"
#property strict
/
To add comments, please log in or register