Download MetaTrader 5

#property

To add comments, please log in or register
Amin Asgari Hezaveh
21268
Amin Asgari Hezaveh  

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
Moderator
2423
honest_knave  

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