fxDreema

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

    Close positions not working!

    Bug Reports
    0
    13
    881
    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.
    • OntradingX
      OntradingX last edited by

      Now I realized that any close for money is not working if the order is opened (manually).
      I created this project to demonstrate the many ways I tested closings, very basic thing, if the value is greater than 0.10 cents usd close the order, if it is more negative than -0.05 close the order as well.

      I tested it on a demo account and the (closing) is not working.
      Loops in order. OK.
      Finds the positive or negative value. OK
      Close order, IT'S NOT WORKING!

      https://fxdreema.com/shared/KMatBJagc

      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
      • N
        nicomolfetta last edited by

        We have a similar bug, I posted yesterday. Also the the Metatester doesn't work with new projects. We are writing in the last post in bug reports

        1 Reply Last reply Reply Quote 0
        • F
          fxpim last edited by

          Should be fixed now 🙂 Thanks to the admin

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

            @fxpim I didn't understand. Are you stating that (already corrected)?

            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!

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

              @ontradingx has verificado el numero magico , si tu bot tiene un numero magico ![alt text](0_1676224977468_a699b717-3673-4e2e-9e5f-903b6ee0b26d-image.png image url) y cuando abres la operación esta no tiene un número mágico entonces no la va a cerrar prueba a eliminar el número mágico de tu bot de esta manera cerrara las operaciones que tenías abiertas antes del bot

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

                @alan-paredes2
                in all my robots I use magic number. To understand where the problem is, make a simple robot that places tp and sl in any order opened manually or by any other robot, and then try to open an order and see if it will assign the tp and sl that you ordered to be placed automatically.. Another test, try to create a robot that closes the operation with 0.05 of profit, the order will not be closed, there are problems with several blocks in fxdreema and the owner is trying to solve it.

                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!

                A W 4 Replies Last reply Reply Quote 0
                • A
                  Alan.paredes2 @OntradingX last edited by

                  @ontradingx yo uso esta y me funciona puedo modificar el tp de todas las ordenes, también puedo cerrar todas las ordenes con profit , también puedo modificar los tp de las ordenes ![0_1676234823382_3506b6f1-08aa-4ba0-92ad-5c932ae8d25b-image.png alt text](image url)

                  con los botones abro las órdenes y en las ventanas puedo modificar el tp profit

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

                    @ontradingx al principio me daba problemas con los trade que tenía abiertos antes de poner el bot , me di cuenta de que estos TRADE no tenían número mágico por eso no los leía el bot , lo que hice fue que le quite el numero mágico a mi bot y de una vez los empezó a leer

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

                      @ontradingx el bloque de modificar tp lo hice asi ( on init ) ![0_1676238169715_150fd656-c9e1-44fa-880d-9e7f406757d8-image.png alt text](image url)
                      en on tick coloco los bloques para modificar el tp se podría hacer igual para el take loss ![0_1676238314260_4e4b2c05-d4bf-4982-b40d-5bdc3bfd7ca7-image.png alt text](image url)

                      y en on chart ![0_1676238378395_313944bc-64dc-433b-b2f1-25c5b12c40fd-image.png alt text](image url)
                      ![0_1676238454988_5ba4ff4a-ad89-45d6-b343-f504b32835e7-image.png alt text](image url)

                      por ultimo para evitar cualquier error le quito el numero magico![0_1676238522523_4cd86289-93f6-4d44-a12a-ede9fdf8deb5-image.png alt text](image url)

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

                        @alan-paredes2
                        I believe that the administrator fixed it, I even see that some robots that I compiled just now are working again.
                        My robots are focused on mt5, I avoid using mt4.

                        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
                        • W
                          waghule.aakash @OntradingX last edited by waghule.aakash

                          @fxdreema Close positions are not working properly. EMA crossovers are not closing the trades.

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

                            @waghule-aakash Take a look at my posts here: https://fxdreema.com/forum/topic/16070/is-there-a-code-error-going-on They are about the way you can tell me tha something doesn't work as expected.

                            I think I fixed the issues in this topic + some more that I found. But while fixing something, it's always possible to break something else (especially in MQL5), so I will make some more checks and upload what I did probably later or tomorrow.

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

                              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.

                              Edit: Oops, I wrote this post in the wrong topic

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

                              Online Users

                              A
                              G
                              D

                              3
                              Online

                              146.8k
                              Users

                              22.4k
                              Topics

                              122.6k
                              Posts

                              Powered by NodeBB Forums | Contributors