Struggling to figure out the problem maybe you can help?

 

Hello , hope your well?


I've been having this problem trying to code a expert advisor..

I'm kinda new with coding the debug console says 2 error but I have 

been struggling to find a way to fix it..

If anyone knows the problem please help?


Regards 

Heinrich

Files:
Main.mq4  3 kb
 
Heinrich Viljoen:

I'm kinda new with coding the debug console says 2 error but I have

Balance your braces.

One specific error is your switch statement is missing the closing brace.

Line your code up with consistent indentation, count your braces, and you won't run into this obstacle.

Reason: