fxDreema

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

    Multiple EAs - how to place only 1 Buy or Sell of 1 symbol - or how to delete duplicate trades

    Questions & Answers
    3
    6
    1161
    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.
    • M
      migen last edited by

      I run multiple EAs (with diffrent inputs - It's too big to combine all EAs in one). I set that EA only open trade if there is no trade (Buy/Sell) for each symbol. However, maybe because of EA's acting too fast (5-10 EAs running at the same time), sometimes there are duplicate trade such as 2 Buy EURUSD.

      Example : open trades:
      2 Buy EURUSD
      1 Sell EURUSD

      How to delete 1 Buy EURUSD because of duplication ?

      I think there are solutions :

      1. Combine all EA's input in one EA. However, it's too big to create one EA like that.
      2. Set EA running one after another (not running same time, like the second EA runs after the first EA finished). Is there anyway to set like that ?
      3. Create another EA to delete duplicate trades. How to build this EA ?

      Any suggestions are welcome.

      S 1 Reply Last reply Reply Quote 0
      • S
        seb 0 @migen last edited by

        @migen
        I don't think running multiple EAs on the same chart is a good idea, however the solution 3 is possible:
        0_1585309214899_Capture d’écran (130).png
        Do the same with sells instead of buys, beside.

        1 Reply Last reply Reply Quote 1
        • M
          migen last edited by migen

          Thanks ! I have just builded the EA - close duplicate buy/sell of any symbol (here is all of symbols -28 pairs).
          0_1585325438862_buy sell close.jpg

          S 1 Reply Last reply Reply Quote 0
          • R
            ramisignals last edited by

            hi

            you need to change magic number

            1 Reply Last reply Reply Quote 1
            • S
              seb 0 @migen last edited by

              @migen
              Good for you if it works : )

              1 Reply Last reply Reply Quote 1
              • R
                ramisignals last edited by

                hi

                is it work ?

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

                Online Users

                N
                L
                A
                E
                B
                P
                S

                17
                Online

                146.6k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors