fxDreema

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

    Buy Sell Pending Orders in Grid

    Bug Reports
    3
    12
    4043
    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.
    • B
      Bhajanlal last edited by

      18a35323-8e53-4ae7-abc8-e284a7e52095-image.png

      1 Reply Last reply Reply Quote 0
      • M
        Moodybot1 last edited by

        Hi Fx Dreema

        When setting up a basic grid using Buy/Sell Pending Orders in Grid, either buy or sell, orders to place(grid levels) don't appear to be working.
        If I set the limit to 10, the software continues adding extra levels up to the max the broker allows.

        Would you be able to check for me.

        Thanks

        Andy.

        1 Reply Last reply Reply Quote 0
        • fxDreema
          fxDreema last edited by

          I don't have any problems with this:
          https://fxdreema.com/shared/xrJfkmeDb
          http://prntscr.com/5i53j3

          Note that all trading blocks are creating trades/orders when they are executed, they don't have internal limits. If you run these blocks 1 time, they will create whatever they are set up to create. If you run them 2 times - they will create whatever they are set up to create X2, and so on...

          I guess that the problem is in the "limit" block/s above the trading block.

          1 Reply Last reply Reply Quote 0
          • M
            Moodybot1 last edited by

            __I don't have any problems with this:
            https://fxdreema.com/shared/xrJfkmeDb
            http://prntscr.com/5i53j3

            Note that all trading blocks are creating trades/orders when they are executed, they don't have internal limits. If you run these blocks 1 time, they will create whatever they are set up to create. If you run them 2 times - they will create whatever they are set up to create X2, and so on...

            I guess that the problem is in the "limit" block/s above the trading block.[/q

            Thanks for the reply

            Strange

            Iv'e reloaded the grid onto a fresh new named EA and it now runs ok, previously on a 10 grid count, it continued through to 70 orders.

            My broker updated this morning, I figured they were after an early Christmas bonus...

            Cheers

            Andy

            1 Reply Last reply Reply Quote 0
            • fxDreema
              fxDreema last edited by

              So where was the problem? And what MetaTrader is this 4 or 5? Because I know that MT5 sometimes does weird things because of it's nature - it does not wait for it's own local database to be updated before going to do something else. For example, when you create a new position with OrderSend() and the response from the server for this operation is positive, and then you load (select) the newly created position, for some milliseconds it's attributes return 0 (open price, stop-loss...).

              1 Reply Last reply Reply Quote 0
              • M
                Moodybot1 last edited by

                Hi

                Just tried again.

                Still adding excess pending orders. I'm setting the grid as I usually do but something doesn't look right.

                Will try again when home later.

                1 Reply Last reply Reply Quote 0
                • fxDreema
                  fxDreema last edited by

                  MetaTrader 4 or MetaTrader 5?

                  1 Reply Last reply Reply Quote 0
                  • M
                    Moodybot1 last edited by

                    MT4 Build 765

                    When setting 10 orders in a grid, as the market moves, the limit orders are refreshed and are counted in trade statistics,
                    increasing in numbers and are then used to place a trade.

                    Andy.

                    1 Reply Last reply Reply Quote 0
                    • M
                      Moodybot1 last edited by

                      Ahh.

                      Reloaded no pending order exists, must have had a meltdown.

                      Running fine. Cheers for help.

                      Andy.

                      1 Reply Last reply Reply Quote 0
                      • fxDreema
                        fxDreema last edited by

                        If something is wrong with the count of trades/orders in MT4, then the reason is most probably in your project logic. In this case I can help if you show me your project. If the project is fine and there are problems, then it's a bug and I want to fix it.

                        In case of MT5... weird things happen there, but again - show me the project, it's easier if I can see the situation, because I have no crystal ball to detect problems.

                        1 Reply Last reply Reply Quote 0
                        • M
                          Moodybot1 last edited by

                          __If something is wrong with the count of trades/orders in MT4, then the reason is most probably in your project logic. In this case I can help if you show me your project. If the project is fine and there are problems, then it's a bug and I want to fix it.

                          In case of MT5... weird things happen there, but again - show me the project, it's easier if I can see the situation, because I have no crystal ball to detect problems.[/quote:gok0pzon]

                          Hi

                          I reloaded the pending order count, all running fine now.

                          Cheers

                          1 Reply Last reply Reply Quote 0
                          • B
                            Bhajanlal last edited by

                            Its is not taking order on market price please help

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

                            Online Users

                            O
                            M
                            J
                            P
                            L

                            21
                            Online

                            146.7k
                            Users

                            22.4k
                            Topics

                            122.6k
                            Posts

                            Powered by NodeBB Forums | Contributors