fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    Close operation when it opens in the opposite direction

    Questions & Answers
    2
    3
    683
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      Chocoloco 0 last edited by Chocoloco 0

      Hey,

      Is possible to close the current "sells" operations
      when another ea open a 'buy 'operacion ,
      and close the "buy" when it open a "sell".

      Another question if is it possible to create an ea that only accepts for example the first buy and denies the remaining buys orders and executes only the first sell and denies the others sells until the first buy is opened and so succinctly (from another ea not created by fxdreema)?

      i tried something else but it doesn't work, maybe cause the operations comes out another ea?
      https://fxdreema.com/shared/fuwF7pfie

      T 1 Reply Last reply Reply Quote 1
      • T
        trader.philipps @Chocoloco 0 last edited by

        @chocoloco-0 Well, basically each EA in MT4 uses a specific number in order to identify it's own trades. This is called magic number. Assuming that you can have influence on the magic number of the external EA there might be a chance to build what you try to accomplish.
        However, if you have no clue how the external EA manages it's trades, I'd strongly recommend to refrain from your idea!
        In worst case both EA produce ping pong conditions where 1 EA for instance opens a trade and the other closes it immediately or adjustment of SL are done by both causing thousands of order modifications.

        If you know the conditions of the external EA maybe have a try to rebuild it with fxdreema. If you don!t want to do that effort contact the creator of the external EA and ask him to fix the issues you're facing with it.

        I like to share my knowledge, but expect the others to contribute as well.

        1 Reply Last reply Reply Quote 0
        • C
          Chocoloco 0 last edited by

          Thank you for the answer.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post

          Online Users

          M
          A
          E

          12
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors