fxDreema

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

    Close partially multiple trades with "Once per Trade/Order"

    Questions & Answers
    2
    9
    3099
    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.
    • A
      Alex254 last edited by

      Hi fxDreema 😀 ,

      when multiple orders was open (at different time) the EA can't partially close them at the same time but close the oldest opened first and then the second older etc.

      Probably the "once per trade/order" block is not set in the proper manner.

      Can somebody help me to figure it out how to close partialy multiple orders at the same time?

      Thanks

      timmyhanke 1 Reply Last reply Reply Quote 0
      • timmyhanke
        timmyhanke @Alex254 last edited by

        @Alex254

        This works 🙂

        https://fxdreema.com/shared/NBVeCe7Jc

        A 1 Reply Last reply Reply Quote 0
        • A
          Alex254 @timmyhanke last edited by

          @timmyhanke Does not Work 😞

          timmyhanke 1 Reply Last reply Reply Quote 0
          • timmyhanke
            timmyhanke @Alex254 last edited by

            @Alex254

            https://fxdreema.com/shared/TUh2Qk6Q

            dont know it this even makes a difference but try it

            A 1 Reply Last reply Reply Quote 0
            • A
              Alex254 @timmyhanke last edited by Alex254

              @timmyhanke this is the problem https://fxdreema.com/shared/ESxE09kI

              timmyhanke 1 Reply Last reply Reply Quote 0
              • timmyhanke
                timmyhanke @Alex254 last edited by

                @Alex254

                For each trade - check trade count condition partly close should work, then it selects all of the orders either buy and sell and partly closes everyone of them

                A 1 Reply Last reply Reply Quote 0
                • A
                  Alex254 @timmyhanke last edited by

                  Problem solved 🙂

                  timmyhanke 1 Reply Last reply Reply Quote 0
                  • timmyhanke
                    timmyhanke @Alex254 last edited by

                    @Alex254

                    and the solution was ? 🙂

                    just so i maybe can learn something new and to anyone else reading this post 🙂

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      Alex254 @timmyhanke last edited by

                      @timmyhanke I've used a "Group function", so I have divided order in group 1, group 2 etc. and then for each group I've created a specific (for each group) close order.

                      Order (Buy or sell) Group 1 --> Close order Group 1

                      Order (Buy or sell) Group 2 --> Close order Group 2

                      and so on......

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

                      Online Users

                      A
                      J
                      D
                      E

                      34
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors