fxDreema

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

    Attention! distance between orders is not working.

    Bug Reports
    0
    32
    2798
    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.
    • fxDreema
      fxDreema @lanrayy last edited by

      @lanrayy said in Attention! distance between orders is not working.:

      @fxDreema Please keep us updated when this issue is fixed.

      It's more complicated than that.

      Back in the day MQL4 was the preferred language, and to make things as similar as possible in both worlds (MQL4 and MQL5), I wrote all these missing Order***() functions for MQL5. In MQL4 these functions work for running orders (I call them trades), pending orders and history orders, and it's very easy to work with them. In MQL5 it's a horror story, there are positions, deals and orders (not the same as the orders in MQL4), and it's a whole adventure to make MQL5 to work like MQL4.

      Now while I was fixing this issue I found another problem, and then I realized that I have to change the code in almost all Order***() functions. These functions are also the most important ones, and I'm testing how they work manually, which is not the best way of code testing.

      Z 1 Reply Last reply Reply Quote 0
      • Z
        Zoll_ein @fxDreema last edited by

        @fxdreema Could you please check the Close Position and Trailing SL in MT5, since they are not working for the new project.

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

          @fxdreema
          Have you done any recent system updates that may have caused this issue? Can you tell us where you detected it and are you working to solve it? Maybe someone who has a lot of knowledge of mql4 and mql5 can help to resolve.

          Sou do Brasil e utilizo o sistema Fxdreema a alguns anos, sempre que tenho tempo disponível eu tento ajudar alguém por aqui, mas se quiser uma ajuda mais próxima me contacte:
          Site: https://www.ontradingx.com.br
          Youtube: https://www.youtube.com/@ontradingx
          Boa sorte a todos nós!

          English - I'm from Brazil and I've been using the Fxdreema system for a few years, whenever I have time available I try to help someone here, but if you want more help, contact me:
          Website: https://www.ontradingx.com.br
          Youtube: https://www.youtube.com/@ontradingx
          Good luck to all of us!

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

            @ontradingx Yes, there was a small update that caused this Close Position problem, and maybe other problems, I don't know. I reverted it today and at the moment the website should generate the same MQL5 as before.

            Now I'm working locally to rewrite some MQL5 stuff. I also started making tests (small projects doing different things) to verify that some scenarios work as supposed, and also that they work the same way in MQL4 and MQL5. I want to test few more scenarios before uploading these changes, because if I don't, the chance is that something somewhere will break.

            Otherwise I fixed some issues and I hope no other issues will appear, because doing something in MQL5 is really pain in the butt 🙂

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

              @fxdreema Great of you to say this, but I don't know how you work with updates. Suggestion: When updating, let us know 1 or 2 days in advance so we can validate whether there have been changes for better or worse and give you time to return to the latest stable version. After this update many things in different locations are not working.

              Sou do Brasil e utilizo o sistema Fxdreema a alguns anos, sempre que tenho tempo disponível eu tento ajudar alguém por aqui, mas se quiser uma ajuda mais próxima me contacte:
              Site: https://www.ontradingx.com.br
              Youtube: https://www.youtube.com/@ontradingx
              Boa sorte a todos nós!

              English - I'm from Brazil and I've been using the Fxdreema system for a few years, whenever I have time available I try to help someone here, but if you want more help, contact me:
              Website: https://www.ontradingx.com.br
              Youtube: https://www.youtube.com/@ontradingx
              Good luck to all of us!

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

                @ontradingx Most times the fix is relatively easy, in the past I fixed things many times like this - someone says that something is wrong and within minutes or hours I end up fixing it, without issues. This time I realized that the problem is a little bit bigger. Initially I made one small change only in one function, then I decided to revert it, and I had the impression that it was reverted, but today I checked (after another guy reported a problem in email) and it was not.

                Sometimes there are issues that remain in the code for long periods of time. Here is a test I wrote today to check partial close in MQL5 (https://fxdreema.com/shared/SboRwS2Cb) and it fails. Maybe this worked in the past and started failing after some MQL5 update, I don't know. The idea of this project is to create a trade (position) and then close 50% of it on every 10 pips, meanwhile checking whether it does that correctly. For this to be successful, the position needs to be partially closed 4 times in distances of about 10-12 pips. By the way, if the cursor appears as hourglass, it's some bug coming from the project description, it's only cosmetic.

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

                  @fxdreema
                  We hope that you manage to solve this problem, it impacts countless projects. I'm tirelessly trying to come up with other ways to close trades and work with take profit and stop loss, but I realize that even these basic things don't work.

                  Sou do Brasil e utilizo o sistema Fxdreema a alguns anos, sempre que tenho tempo disponível eu tento ajudar alguém por aqui, mas se quiser uma ajuda mais próxima me contacte:
                  Site: https://www.ontradingx.com.br
                  Youtube: https://www.youtube.com/@ontradingx
                  Boa sorte a todos nós!

                  English - I'm from Brazil and I've been using the Fxdreema system for a few years, whenever I have time available I try to help someone here, but if you want more help, contact me:
                  Website: https://www.ontradingx.com.br
                  Youtube: https://www.youtube.com/@ontradingx
                  Good luck to all of us!

                  OntradingX 1 Reply Last reply Reply Quote 0
                  • OntradingX
                    OntradingX @OntradingX last edited by

                    @fxDreema
                    I just ran some tests and it's working again.
                    Are you working on this problem? Do you have any updates?

                    Sou do Brasil e utilizo o sistema Fxdreema a alguns anos, sempre que tenho tempo disponível eu tento ajudar alguém por aqui, mas se quiser uma ajuda mais próxima me contacte:
                    Site: https://www.ontradingx.com.br
                    Youtube: https://www.youtube.com/@ontradingx
                    Boa sorte a todos nós!

                    English - I'm from Brazil and I've been using the Fxdreema system for a few years, whenever I have time available I try to help someone here, but if you want more help, contact me:
                    Website: https://www.ontradingx.com.br
                    Youtube: https://www.youtube.com/@ontradingx
                    Good luck to all of us!

                    1 Reply Last reply Reply Quote 0
                    • A
                      ambrogio @Alan.paredes2 last edited by

                      @alan-paredes2 said in Attention! distance between orders is not working.:

                      @ambrogio ponlo negativo acá también (-20) ![alt text](0_1676004747476_6431b201-291e-424d-a364-a7c270f3f2f3-image.png image url)

                      you misunderstood what the problem is, there is a bug. The admin is working around it

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

                        @fxDreema ok admin, seems to work fine now, thanks

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

                          It seems that I wrote in the wrong topic, here I will post it again:

                          Updated. I also updated the MQL compilers. I did my tests, they all passed, in general I'm confident about these changes, but as usual I would expect some new bugs.

                          OntradingX 1 Reply Last reply Reply Quote 2
                          • OntradingX
                            OntradingX @fxDreema last edited by

                            @fxdreema
                            Yes, I've been testing since Sunday night and everything is going well so far, I believe you've solved the problem.
                            Thank youuuu

                            Sou do Brasil e utilizo o sistema Fxdreema a alguns anos, sempre que tenho tempo disponível eu tento ajudar alguém por aqui, mas se quiser uma ajuda mais próxima me contacte:
                            Site: https://www.ontradingx.com.br
                            Youtube: https://www.youtube.com/@ontradingx
                            Boa sorte a todos nós!

                            English - I'm from Brazil and I've been using the Fxdreema system for a few years, whenever I have time available I try to help someone here, but if you want more help, contact me:
                            Website: https://www.ontradingx.com.br
                            Youtube: https://www.youtube.com/@ontradingx
                            Good luck to all of us!

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

                            Online Users

                            G
                            J
                            F
                            G
                            O
                            Z
                            M
                            W

                            18
                            Online

                            146.7k
                            Users

                            22.4k
                            Topics

                            122.6k
                            Posts

                            Powered by NodeBB Forums | Contributors