'if' - expressions are not allowed on a global scope
Hi Coders,
I have issues with this compile error,
'if' - expressions are not allowed on a global scope
see attachment added
can any one help?
If it is indeed within functions, then check for mismatching brackets and braces, just as @Carl Schreiber has suggested.
Hi Coders,
I have issues with this compile error,
'if' - expressions are not allowed on a global scope
see attachment added
can any one help?
Move that part to it's logical place within the function where it is supposed to do the desired job or, as Carl told : check all your brackets for a missing one
hellow friends how to fix this error?
Read the topic!
Move your code so that it is inside a function (OnInit() , OnCalculate() or OnTick() )
- www.mql5.com

Hi Coders,
I have issues with this compile error,
'if' - expressions are not allowed on a global scope
see attachment added
can any one help?