fxDreema

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

    BUG URGENT in block (Bucket of Position) Blue

    Bug Reports
    3
    8
    691
    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

      I have always used this logic to obtain the value of the float in real time and thus carry out closures of these floats, however, last week I realized that when saving my projects a surprise happened, the closures stopped happening and I only realized it because some of my accounts (Reais) did not execute the closing at the correct time determined when a certain positive value was reached.
      And that's when I went to print it to understand and I noticed that this block is not working as it used to, giving in real time the value of the sum of the float in real time.
      Can you please check this urgently?
      It is very important for me to keep my EA's active, this is their functionality.

      Project Test -- > https://fxdreema.com/shared/jR4j9ERvc
      d2d84a5d-5a26-42d4-a8a1-657539da1498-image.png
      d820b638-befd-4535-8171-c2c9e9c5e413-image.png

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

        @fxDreema ? You can see this, please?

        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
        • T
          TraderCandela last edited by TraderCandela

          @OntradingX check the spread, swap and commission. this affects the net value below.

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

            @TraderCandela This may even have an influence, but the block does not work and this is the problem, I am having to use the " For each position " block and it works normally.

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

              @fxDreema The bug seems to have increased, now I've been using the "For each Position" block to loop through all the orders of all open symbols including swap and commission and to my surprise this block is also having problems, it doesn't register correctly Real-time floating profit or loss.

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

                Unfortunately we don't have quick answers and we have to look for alternative solutions so that we can continue with our negotiations, after all we are investing a few dollars to use the tool and our work day doesn't stop and that's why I made an effort and found a solution to get around it. temporarily the problem in the Bucket and For each blocks.
                Below is the project:
                https://fxdreema.com/shared/qHUEs6QZ
                The solution was to use a formula block to calculate Equity minus Balance which will result in the current net floating balance.
                @fxDreema if possible help us, I believe these are not the only blocks that are not working.

                image.png

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

                  Note that the blocks have numbers. Most of the time these numbers doesn't matter, but sometimes they do.

                  Take a look at this: https://fxdreema.com/documentation/builder/builder-basic-rules#block-numbers

                  If you have 10 blocks connected one after another, their numbers doesn't matter, because the order of execution is from the first block to the last, and there is only one possible path.

                  However, things are a little bit different when there are 2 or more possible paths. If you have a block that is connected to 2 or more blocks after it, which of these block should run first? They can't run at the same time, because the code is synchronous.

                  This is what you have in your last example:
                  83f4ec05-f2b3-4de1-8e9f-0273e1785b1b-image.png

                  Here block 4 doesn't even matter, it just passes. But what follows block 4? Blocks 7, 3, 1 and 5. Ok... let me rearrange the blocks just a little bit:

                  65c02495-d270-4507-9574-6ada7707df0e-image.png

                  Now there is a visual difference, obviously, I changed the position of the blocks. Will this example produce different results in the Tester? If the position of the blocks mattered, yes. But the position of the blocks doesn't matter, so the results will be absolutely the same, and in your opinion - wrong. What matters is the number of blocks. The lower number runs first. This means that the order of execution of blocks is 1, then 3, then 5, then 7.

                  Let's imagine that you already have one position. Let's look at what happens on the very first run of these blocks.

                  • First, the program goes to blocks 1, which passes and causes block 2 to run. You now have a value for Floating_For_each.
                  • Then, the program goes to block... can you guess... block 3, the Comment block. At this time only Floating_For_each has a value that is not 0. The other variables still have their initial values of 0.
                  • Then block 5 (and 6) runs, then 7 runs => now we have all variables set.
                  • On the next tick we recalculate Floating_For_each, then we print it in Comment. But this time the other two variables have values.... from the previous tick. That's why the values are close, but different.

                  Change the number of block 3 to say 30 and the bug will be fixed.

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

                    @fxDreema Thank you, i will test this solution and return here to comment.

                    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 / 1
                    • First post
                      Last post

                    Online Users

                    B
                    A
                    J
                    D
                    E

                    20
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors