Help to correct this.

 

Hi every body,

As I am a newbie and I don't know anything about mql4 language, but just from one of the help pages I tried to make this attached EA.

Unfortunately when I compiled, it got some 6-7 errors.

Would any body be kind enough to correct them.

Also most of the EA's in those threads, either I can't attach them to the chart or if I do then most of them, the results page is clear and no graph either. But when you look at the section strategy results, that part shows 50-55% green, but no trades and Profit 0% and loss 0%.

I am sure I must be doing something wrong, which I don't know.

Could someone please help me?

Thanks in advance.

Andy

 

Howdy, give this a try. It compiles, but I didn't get into the logic on how it works.

Have fun

Mark

Files:
Builder.mq4  10 kb
 

Thank you, flexi.

andy