fxDreema

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

    Bucket of Positions Not Giving Open Lots - MT5

    Questions & Answers
    3
    5
    233
    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.
    • N
      nbathan last edited by

      Hello, I need help please. I am building an MT5 EA where I have to keep track of 6 individual trades and use their lot sizes when opening other trades. I used Bucket of Positions to achieve this. The problem is the buckets doesn't give any value for the lot size although there is open trade on that bucket. When I open a trade using a bucket lot size, the opened trade is always 0.01 lot as the bucket lot size is null. I confirmed it by commenting the total lots of grey bucket which has an open trade, and no value was shown on the comment during testing. Am I doing something wrong?

      30da3aef-8949-4a6f-842c-35fce9d62e73-Bucket of Positions.JPG

      b547f76a-f1e8-414e-8cc9-a5b9bba6b520-Sell Now Grey Lot Size.JPG

      895a0413-14b5-4ba2-9559-cec48c2a68b6-Comment Lot Size.JPG

      I have read on some posts here on the forum that Bucket of Positions can be buggy on MT5. In that case, how will I achieve the same using a different approach? For example, is there a way of using Magic Numbers instead? Can I assign specific magic numbers to each trade so I can track when those trades are opened or closed, and also check the open lots for specific magic numbers? I will also need partial closing of positions, so will a position retain its magic number after partial close?

      Sorry for the lengthy question. Thanks in advance!

      1 Reply Last reply Reply Quote 0
      • l'andorrà
        l'andorrà last edited by

        Yes, that block doesn't work correctly on MT5. Can't you try it on MT4 instead?

        (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

        (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

        (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

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

          You can create like below for as many trade types as needed:
          https://fxdreema.com/shared/jyG984D4b

          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! 😊

          N 1 Reply Last reply Reply Quote 0
          • N
            nbathan @l'andorrà last edited by nbathan

            @l-andorrà Thanks for the reply. That might be my last option as I prefer the ease of testing in MT5.

            1 Reply Last reply Reply Quote 0
            • N
              nbathan @jstap last edited by

              @jstap Thank you for this! Appreciated. I'll try this approach and see.

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

              Online Users

              G
              J
              F
              G
              O
              Z
              M
              W
              N
              G

              21
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors