fxDreema

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

    Buy Pending Order

    Questions & Answers
    3
    10
    464
    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
      Matatika last edited by Matatika

      Any idea why a buy pending order block would be opening short trades as well as long trades?
      d9168414-8179-4265-9b4d-07dfe9cfa15d-image.png

      In live testing it's open buy and sell orders at exactly the same time:
      e0587b8d-8f21-4452-b140-c5a1ed9db140-image.png

      1 Reply Last reply Reply Quote 0
      • H
        Hiten7405 last edited by

        set highest for buy and set lowest for sell

        https://www.mql5.com/en/users/8541393/seller

        M 1 Reply Last reply Reply Quote 0
        • M
          Matatika @Hiten7405 last edited by

          @Hiten7405 Yes, I've got buy and sell conditions, but with this block, when the buy conditions are met it's setting a a buy and sell order at exactly the same time. If I go in and manually try to cancel the sell order, both the buy and sell pending orders are removed, so they are linked somehow.
          Anyone have an idea why?

          H 1 Reply Last reply Reply Quote 0
          • H
            Hiten7405 @Matatika last edited by

            @Matatika
            Share project link

            https://www.mql5.com/en/users/8541393/seller

            M 1 Reply Last reply Reply Quote 0
            • M
              Matatika @Hiten7405 last edited by

              @Hiten7405 here's the link: https://fxdreema.com/shared/7dbefV1wd
              I've created a separate project where I just have a buy at market where the conditions are met, but it would be good to have the pending orders to work.

              A 1 Reply Last reply Reply Quote 0
              • A
                ambrogio @Matatika last edited by

                @Matatika that's why, this function creates an opposite pending order. Set it to NO

                Immagine 2025-02-06 182859.jpg

                M 2 Replies Last reply Reply Quote 1
                • M
                  Matatika @ambrogio last edited by

                  @ambrogio Okay, thanks, i'll try that. Appreciated.

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    ambrogio @Matatika last edited by

                    @Matatika 👍

                    1 Reply Last reply Reply Quote 0
                    • M
                      Matatika @ambrogio last edited by

                      @ambrogio Hey, just to let you know, this worked! Thanks for your help.

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        ambrogio @Matatika last edited by

                        @Matatika you're welcome!

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

                        Online Users

                        M
                        R
                        E
                        M
                        P
                        C
                        J
                        V
                        G
                        E

                        25
                        Online

                        146.7k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors