T
Likely the problem is in one of the included files - i.e. somewhere in a .mqh file
Rem out all lines in your EA, like
// Level_old=MarketInfo(Symbol(),MODE_STOPLEVEL );//Min. distance // Terminal(); // Order accounting function
and if the error still persists, rem out the #include items one by one, like
// #include <Errors.mqh> // Error processing function
Good Luck
-BB-
Thanks for tip meikel.

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
Hi.
I have got a problem trying to use EA calles "usualexpert.mq4" taken from S. Kovalyov book available on mql4.com website. I copied all fuctions and #include files from the book, made an attempt to compile the following code (which is almost the same as "usualexpert.mq4" EA):
and got following message: "\'end_of_program' - unbalanced left paranthesis". I studied the code many times and haven't found any mistakes with the paranthesis. What can be wrong? Is it something with the complier??