You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Your ProcessDaily() function is still declared inside your start function, it has to be outside . . .
Your ProcessDaily() function is still declared inside your start function, it has to be outside . . .
Still got a lot of unbalanced right parenthesis error .
Still got a lot of unbalanced right parenthesis error .
I can't see anything obvious, maybe the smiley face is causing an issue . . .
OK, so track them down one by one and fix them . . . sort your indenting if you want to make life easy for yourself, or copy & paste your code into the MT5 Edttor and it will auto format your code and highlight blocks so you can see where you have unmatched braces . . . ( ) & { } or simply count the opens and closes and find the missing ones . . . I could do it for you but it sounds like you need the practice.
No don't do it for me !!! Only do that if I really can't do it myself !! I will try the mql5 way you suggest ... Thanks a lot let me get back here again if I fail ..
I can't see anything obvious, maybe the smiley face is causing an issue . . .
I tried removing it also still the same ... You can try copy this and compile it ... it still didn't work after i change the position of the sub-function ....
I used MetaEditor 5 to recheck my brackets, () and {}, there's no flaws in it ....
I also tried using MetaEditor 5 to change the brackets from () to {}, but still not working when i compile it at MetaEditor 4 ........
I used MetaEditor 5 to recheck my brackets, () and {}, there's no flaws in it ....
I also tried using MetaEditor 5 to change the brackets from () to {}, but still not working when i compile it at MetaEditor 4 ........
Erm, you can't interchange { } and ( ) they have totally different meanings . . .
Just tried it to see whether the codes works a not ..... Hmmmph not sure why the error and warning at ME5 is completely different at ME4 ....
At ME4 I mostly get " comma expected ", " unbalanced right parenthesis ", " variable not defined " and also " variable already defined " .... Hmmmph