Download MetaTrader 5
To add comments, please log in or register
Share links from other resources. Now they have a description.
jack
10
jack 2014.04.02 08:52 

Need help on checking this EA with thanks. What is wrong with it?

errors as follow:

'}' - unexpected end of program 179 4

'{' - unbalanced parentheses 45 3


Files:
Carl Schreiber
5939
Carl Schreiber 2014.04.02 09:01  

For thos problems I am using (still) Notepad++ (search & count "{")

1) OnInit has no closing } ~ line 71

2) add { (for what) at line 55 (not closed as well)

SYED NAUFAL GADDAFI
1401
SYED NAUFAL GADDAFI 2014.04.02 09:06  
gooly:

For thos problems I am using (still) Notepad++ (search & count "{")

1) OnInit has no closing } ~ line 71

2) add { (for what) at line 55 (not closed as well)


Hopefully it is that simple because I feared it is even worst as my guts telling me some lines are missing.


Well, just a guess. :)

Keith Watford
Moderator
7899
Keith Watford 2014.04.02 10:11  

Line 55, you have a { that does not have a closing }

Void on tick should have a closing } at line 71

In your functions there are sooooo many lines that are missing the ;

You have 2 bool functions that do not return a value, they should be void

/
To add comments, please log in or register