OK - I should know better than to get involved with programming what with the extremely limited knowledge I have of MQL but rather than constantly nag others to please do this or that to an EA I thought I'd give it a whirl myself. It's taken me over a month of weekends to get to grips with it and what I have to show for it I've attached to the post. The trouble with it is that it's not doing what I thought I'd told it to do and I'm now stuck banging my head against the wall.
The EA is a very basic MA cross over (big yawn, I know) that is supposed reverse position after a cross over and only when the bar has completed and has closed. Instead of this I'm seeing orders being made in random places! So what the heck am I doing wrong here?
