fxDreema

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

    block of "Buy / Sell pending orders in grid" with error

    Bug Reports
    3
    13
    3105
    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
      cjdduarte last edited by

      Started showing the following error: "OrderCheck () failed: Invalid expiration (10022)"

      until yesterday it worked.

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

        Oh no, the stupid MQL5 again with its meaningless errors. I will see what can I do. What broker do you use?

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

          Wait, it is Saturday and markets doesn't work. Does this happen in the Tester? And what Symbol is this?

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

            the error occurs in backtest. I got a compiled version 2 days ago, it works normally. When I recompile, this error occurs.

            1 Reply Last reply Reply Quote 0
            • C
              cjdduarte @fxDreema last edited by

              @fxdreema I have tested on more than one broker and the same error occurs.
              I noticed that the error started after this update.

              https://fxdreema.com/forum/topic/5714/april-2018

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

                Could you check?

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

                  I tried the block of course, with all Expiration settings, but I have no problems with it. I tried it in EURUSD. What Symbol do you use?

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

                    Broker "Clear" or "XP" in Brazil.
                    The Symbol is WIN$N.

                    I did a test with EURUSD on FXpro and it worked, but I work in brokers in Brazil (WIN$N). And it worked.

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

                      I got this error:
                      0_1523383977634_0d691be7-3093-443c-ac43-9cb74279db4e-image.png
                      Any chance of another broker with the same problem? 🙂

                      M 1 Reply Last reply Reply Quote 0
                      • C
                        cjdduarte last edited by

                        Yes.
                        XP Broker (XPMT5-Demo).

                        1 Reply Last reply Reply Quote 0
                        • M
                          moreirajbn @fxDreema last edited by moreirajbn

                          @fxdreema

                          You won't be able to open a demo account on a Brazilian broker without a live (real) account... in addition, quotes, history data and order routing in MT5 from Brazilian brokers are a joke. All kinds of errors, service outages while market is open... etc... they all blame MT5, but it's their servers.

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

                            I'm just a demo account.

                            It used to work. I saw that the new compiled code is very different from the previous version.

                            Follow the two files for comparison. If it does not, unfortunately I will not be able to use the tool.1_1523416699316_work.mq5 0_1523416699316_dont_work.mq5

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              moreirajbn @cjdduarte last edited by moreirajbn

                              @cjdduarte

                              You don't have to give up.... You can work around this problem by connecting the blocks: "for each pending order" > "check age" > "delete pending orders".... select the correct type of order (sell vs. buy) and go ahead.... The expiration function is a convenience, but some brokers do have limitations so you have to find a solution, and in fxDreema there are dozens of ways for doing the same thing... just be creative 🙂

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

                              Online Users

                              R
                              A
                              E

                              18
                              Online

                              146.7k
                              Users

                              22.4k
                              Topics

                              122.6k
                              Posts

                              Powered by NodeBB Forums | Contributors