fxDreema

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

    Loops different than newest and oldest

    Questions & Answers
    3
    11
    305
    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.
    • P
      purelife173 last edited by

      @fxDreema how can I run a loop based on order size say least to greatest or greatest to least?

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

        Explain a little more

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

          I want to run a loop from lowest volume size to largest

          S 1 Reply Last reply Reply Quote 0
          • S
            sktsec @purelife173 last edited by

            @purelife173
            You mean the block For Each Position.

            I am afraid you need to DIY if your requirement is not an included feature

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

              This should do it, you will need trades running first though: https://fxdreema.com/shared/1vcJj0MId

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

              P 1 Reply Last reply Reply Quote 1
              • P
                purelife173 @jstap last edited by purelife173

                @jstap I didn't get the chance to try it out but reading the blocks that's not the right logic say if there are two running trades one is a .01 and the other a .5 (the newertrade) that logic would seem to run the .5 first in both scenarios. Nice attempt

                It seems loops can run in most/least profitable or newest/oldest but I want to loop by lot size. From the smallest size to the greatest

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

                  That should put the biggest and smallest into the corresponding variable

                  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 1
                  • P
                    purelife173 last edited by purelife173

                    @jstap limits perhaps
                    thanks for that spark

                    https://fxdreema.com/shared/rWOl4C1Jc

                    Now my next question is can that once per trade/order be reset?

                    1 Reply Last reply Reply Quote 0
                    • P
                      purelife173 last edited by purelife173

                      https://fxdreema.com/shared/

                      The flaw is if there is no order the loop would stop progressing. Some numbers are Odd and others are even

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

                        It cannot be reset, so you would have to set conditions so if something happens it places the order, then tries again if conditions are right

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

                          I believe this is possibly a solution, cheers
                          https://fxdreema.com/shared/z4ytexJKd

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

                          Online Users

                          R
                          K
                          K
                          T
                          A

                          11
                          Online

                          146.8k
                          Users

                          22.4k
                          Topics

                          122.6k
                          Posts

                          Powered by NodeBB Forums | Contributors