#property

 

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

 

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
 

i have problem on EX4 file must be compiled using <a target="_blank" href="http://docs.mql4.com/en/basis/preprosessor/compilation">#property strict</a> directive.

Version name is not specified. Please specify it by setting #property version in source code

to sell the product.
Program Properties (#property) - Preprocessor - Language Basics - MQL4 Reference
Program Properties (#property) - Preprocessor - Language Basics - MQL4 Reference
  • docs.mql4.com
Every MQL4-program allows to specify additional specific parameters named #property that help client terminal in proper servicing for programs without the necessity to launch them explicitly. This concerns external settings of indicators, first of all. Properties described in included files are completely ignored. Properties must be specified...
 
Lashxmi Piriayah: i have problem on

You do if you can't follow those two simple requests.

Reason: