Can someone please help me check what is wrong with this code?

[Deleted]  

Please EDIT your post and use the CODE button when you post code.

Code button in editor

[Deleted]  

Please don't post randomly in any section. Your question is not related to the section you posted.

MT4/mql4 has it's own section on the forum.

I will move your topic to the correct section later, please don't create another topic.