Hello! So, I have Expert Advisor that doesn't work and gives me those two errors: "Unexpected end of program" and "Unbalanced Parentheses".
-
Please edit your (original) post and use the CODE button (or Alt+S)! (For large amounts of code, attach it.)
General rules and best pratices of the Forum. - General - MQL5 programming forum #25 (2019)
Messages Editor
Forum rules and recommendations - General - MQL5 programming forum (2023) -
Do not post code that will not compile.
- Your function is missing the closing bracket.
-
if(positive && !positive[1])
This is non-sense. Either the variable is an array (positive[1]) or it is not (positive). It can't be both.
Your topic has been moved to the section: MQL4 and MetaTrader 4
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
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
...
...