please help correct the error of EA

 

Hi Coders. I got this EA but I got 1 error, i dont know how to fix it. Pls help...many thankss..

--------------------------------

Files:
ea_tpsl.mq4  20 kb
 

Coders to fix your EA's for you can be found Here.

 

Since I think you did try and fix it yourself, I thought I would see if I could get it to compile. I didn't look at your logic at all so you need to test it.

Some tips for the future. Get a code formatter it will make your life easier. There are tons of them on the net for free.

You need to read the Book on:

{brackets} if you miss a bracket, things go downhill pretty quickly.

// comments

/* comments */

These are not comments:

*, +-----+, ------- I can't even count how many other versions of comments you had!

Files:
ea_tpsl_1.mq4  20 kb