I'm trying to write an EA, What I would like it to do is to open a short position after the long position has closed. Then when the short closes I want it to open a long position ect .....
in response to if it is interesting enough can you figure out how to get it to do that. Find anything or try anything. Its simple get it to open a posistion when it closes based on the closepoint of the position
You haven't stated a problem, you stated a want. Show us your attempt (using the CODE button) and state the nature of your problem. No free help 2017.04.21
Or pay someone. Top of every page is the link Freelance. Hiring to write script - General - MQL5 programming forum 2018.05.12
We're not going to code it for you (although it could happen if you are lucky or the problem is interesting). No free help 2017.04.21
I assume you are not using any custom entry signal which the expert could then use as an act on a change of signal. Instead you could use for example order history to check what was opened/closed and make the expert work after those specific criteria.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.