I do have a main bot, how to open a hedge position automatically?

 

I would like to open a simple hedge trade each time when the MT4 bot (called VR-Smart Gid) opens a position, for example:

VR-Smart grid opens 10 lot buy position with magic number 123456 - the new bot should open in the same time 10 lot sell position with magic number 123456

That's it, is there someone so kind a can help me, please ? Closing the new sell position is part of the VR-Smart Grid which is already included !


Thanks in advance

 
Robert Svobodais there someone so kind a can help me,

Help you with what? You haven't stated a problem, you stated a want.
     How To Ask Questions The Smart Way. 2004
          Prune pointless queries.

You have only four choices:

  1. Search for it (CodeBase or Market). Do you expect us to do your research for you?

  2. Beg at:

  3. MT4: Learn to code it.
    MT5: Begin learning to code it.

    If you don't learn MQL4/5, there is no common language for us to communicate. If we tell you what you need, you can't code it. If we give you the code, you don't know how to integrate it into your code.

  4. or pay (Freelance) someone to code it. Top of every page is the link Freelance.
              Hiring to write script - General - MQL5 programming forum 2019.08.21

We're not going to code it for you (although it could happen if you are lucky or the problem is interesting.) We are willing to help you when you post your attempt (using CODE button) and state the nature of your problem.
          No free help 2017.04.21

Reason: