EA - Opening positions

 

Hello everyone. I'm having trouble writing a piece of code. it is about opening positions every 10 pips against the trend. This is intended to be a simple test build. Can anyone give me a hint?

 
themusik: Can anyone give me a hint?

A hint with what? 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 problem is interesting).
          No free help (2017)