when i put my indicator in the market it gave me this error
EX4 file must be compiled using <a target="_blank" href="http://docs.mql4.com/en/basis/preprosessor/compilation">#property strict</a> directive.
what can i do to fix this error
thanks in advanced
add :
#property strict
in your ea's code header.
add :
in your ea's code header.
thanks but it gave me this " File compiled in Debug mode "
So compile it normally, using the compile button instead of the debug button.
So compile it normally, using the compile button instead of the debug button.
okay i did it and it gave me
0 error(s), 251 warning(s), compile time: 140
this one of the warning
implicit conversion from 'number' to 'string'
okay i did it and it gave me
0 error(s), 251 warning(s), compile time: 140
this one of the warning
implicit conversion from 'number' to 'string'
It seems your code is a little bit an old style. Now you should fix all of this warning. E.G. by using IntegerToString() or DoubleToString() and so on.
It seems your code is a little bit an old style. Now you should fix all of this warning. E.G. by using IntegerToString() or DoubleToString() and so on.
yes i used int and double, i didn't use string
you want me to change every int and double to string ??
yes i used int and double, i didn't use string
you want me to change every int and double to string ??
I don't want you do anything. I've never seen your code. But you need to fix these warnings. And the fix is depend on your code (That I've never seen).You can post here one line that causes the warning and I can show you the fix.
hahah i just asking because i need fix this warning
and thank you for your helping me .
hahah i just asking because i need fix this warning
and thank you for your helping me .

- 2014.03.25
- MetaQuotes Software Corp.
- www.mql5.com
okay i did it and it gave me
0 error(s), 251 warning(s), compile time: 140
this one of the warning
implicit conversion from 'number' to 'string'
I have the same problems, could someone please show me an example of how to fix the issue?
Some samples of my code:
if(idHash == StringHash("EnterRvrAtMrkStpLss")) {
return (ConvertToRealPips(OrderSymbol(), EnterRvrAtMrkStpLss));
or
double sqGetGlobalVariable(int ticket, string name) {
return (GlobalVariableGet(ticket+"_"+name));

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
when i put my indicator in the market it gave me this error
EX4 file must be compiled using <a target="_blank" href="http://docs.mql4.com/en/basis/preprosessor/compilation">#property strict</a> directive.
what can i do to fix this error
thanks in advanced