Help on "Unexpected Token"

 

Hello everyone, I tried to make a simple EA that has two pending orders and that when buy or sell is activated the other one disappears and after 1 pip the trail is activated but the code gives me 5 errors that I can't solve. Can you help me?

...

Improperly formatted code removed by moderator. Please EDIT your post and use the CODE button (Alt-S) when inserting code.

Code button in editor

Hover your mouse over your post and select "edit" ... 

...

 
Francisco Rodriguez Higueras: Can you help me?

Do you really expect an answer? There are no mind readers here and our crystal balls are cracked.
     How To Ask Questions The Smart Way. (2004)
          Be precise and informative about your problem

We can't see your broken code. Always post all relevant code (using Code button) or attach the source file.

What errors, where?

 
Francisco Rodriguez Higueras:

Hello everyone, I tried to make a simple EA that has two pending orders and that when buy or sell is activated the other one disappears and after 1 pip the trail is activated but the code gives me 5 errors that I can't solve. Can you help me?


Look at the first error the log tells you. Go to that line. There should be a simple syntax mistake.