fxDreema

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

    Error in mt5 position bucket

    Bug Reports
    5
    25
    1943
    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.
    • M
      mauro0425 last edited by

      I am having problems with the buckets in mt5, since it is not loading the data
      I have many bots that when migrated from mt4 to mt5 stop working for the same reason
      In the strategy tester it works perfectly but when you run the real one they stop working

      The error is practically that it does not show the total profit or the order counter
      annex example..
      It works perfectly in mt4 and in the mt5 strategy tester but when I run it in real mt5 it no longer works and the value is empty

      https://fxdreema.com/shared/vI8cyAL4d

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

        Try setting the ID to the used colour, not well practiced on MT5 so cant help more than this

        Learn fxDreema Without the Wait!

        My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

        The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

        Don’t miss out

        Click here➡️ https://mybook.to/fxDreema to get your copy today!

        Enjoy! 😊

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

          I already did that too, but the problem persists
          They work very well in mt4, and in the mt5 strategy tester, but in real life the values are zero
          There are many bots that stop working when you move them from MT4 to MT5 for this reason.

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

            I only use MT4, because it is more stable, FX, and MT.

            Learn fxDreema Without the Wait!

            My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

            The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

            Don’t miss out

            Click here➡️ https://mybook.to/fxDreema to get your copy today!

            Enjoy! 😊

            M 1 Reply Last reply Reply Quote 0
            • M
              mauro0425 @jstap last edited by

              @jstap We agree, mt4 is more stable... but mt5 is very efficient in backtesting
              gives many more options
              I use mt5 a lot to search for strategies and then to work live I use mt4
              but still in mt5 it should be able to work fine, and it can't because the bucket has errors

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

                All you can do is ask the admin... see if he can help.

                Learn fxDreema Without the Wait!

                My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                Don’t miss out

                Click here➡️ https://mybook.to/fxDreema to get your copy today!

                Enjoy! 😊

                M 1 Reply Last reply Reply Quote 0
                • M
                  mauro0425 @jstap last edited by

                  @jstap That's where I am, thank you very much for the support, that is the idea of this report

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

                    In OnTrade, have a position created and closed block, connected into bucket of positions (gray). Then OnInit, pass and comment using bucket of trades (gray) values you want. This works for live and backtesting. The only thing is when you're EA has no trades open, it'll show random large values. You can fix this using variables and normalizing them but commenting buckets does work. Having this on OnTrade updates the values each "On Trade".
                    https://fxdreema.com/shared/V2BZeqmXb

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      mauro0425 @willramsey last edited by

                      @willramsey I tested it on my terminal and it still doesn't work, as I told you live it doesn't work.... and in my opinion it is an error in the fxdremma system, something is wrong in the buckets

                      I made the code in mt4 and it worked fine
                      then i moved it to mt5 and it works fine only in strategy tester
                      live it doesn't work... the values are =0
                      both the counter and the profit

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

                        I just put it on live chart and it worked so not sure then.

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          mauro0425 @willramsey last edited by

                          @willramsey c89f5b69-a7f2-43c7-a109-e77cf411d959-image.png

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

                            @mauro0425 I thought it was my PC, because the problem has been there since last year but I installed Windows from scratch and installed it again and the problem continued
                            and I have some people who also use my bot and it doesn't work on their terminals either.

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

                              If you're using pending orders, you need to use bucket of pending orders not positions. Or both of the bucket blocks if you want both. My project is just for positions I posted earlier.

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

                                There is an open order in the photo I sent you and as you can see the value is zero

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

                                  I am sure that something is wrong with the buckets, I have been programming with fxdremma for 7 years... this was not the case, since I always use this function and this error appeared last year 2022, I thought it was a fault with my team, that's why it didn't work. I said nothing at first but after reestablishing my PC and doing tests on other terminals I concluded that there is a problem with mt5 in fxdremma.
                                  but I haven't used mt5 in a while because of this failure. I have been limited to working only with mt4 precisely for that reason

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

                                    Not sure then, just so you can see my pov recorded a quick clip. You could always comment them a different way just using a variable for a counter though if your having problems and want to use MT5.
                                    https://youtu.be/vaWMaTmEXIE?si=aonKp7X3sO_0IFwd

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

                                      I did exactly the same
                                      and the image I have is = 0

                                      image.png

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

                                        Very odd, I honestly have no idea lol. I haven't seen something like this happen before and I mainly work with MQL5.

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

                                          I have just tested this, and if 3 buckets were connected to each other, the bottom bucket wouldn't work, with a pass everything worked on mt5 backtest: https://fxdreema.com/shared/Z9B0OI3cc

                                          Learn fxDreema Without the Wait!

                                          My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                                          The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                                          Don’t miss out

                                          Click here➡️ https://mybook.to/fxDreema to get your copy today!

                                          Enjoy! 😊

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

                                            I already tried it too, and it doesn't work either.

                                            pgfnSXNFOR.png

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

                                            Online Users

                                            S
                                            A
                                            R
                                            B
                                            N
                                            M
                                            A
                                            T
                                            V
                                            M
                                            A
                                            A
                                            R
                                            S

                                            25
                                            Online

                                            146.7k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors