how to code an EA to opens when 8EMA crosses above 14 EMA

 
how to code an EA to opens when 8EMA crosses above 14 EMA and closes the trade again when he 8EMA is again below the 14EMA 
also for sell trade open when 14EMA crosses above 8EMA and close trade when the 8EMA corsses again above the 14EMA so it alsways back to back trades
 
Kyran Delplace: how to code an EA to opens when 8EMA crosses above 14 EMA and closes the trade again when he 8EMA is again below the 14EMA

exactly as you stated. Read EMA8, read the EMA14. If the 8 is above the 14, and you have no open buyt trades, open one. If the 8 is below the 14 close any open one.

You haven't stated a problem, you stated a want. Show us your attempt (using the CODE button) and state the nature of your difficulty.
          No free help (2017)

Or pay someone. Top of every page is the link Freelance.
          Hiring to write script - General - MQL5 programming forum (2018)

We're not going to code it for you (although it could happen if you are lucky or the issue is interesting).
          No free help (2017)