fxDreema

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

    combine blocks together

    Questions & Answers
    0
    5
    244
    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.
    • aliso
      aliso last edited by

      hi
      can we combine blocks together?
      i have 5 blocks that using 10 times in different parts of my code
      so instead of having 50 blocks, can i combine 5 blocks and then use the "combined block" ?in that case instead of 50 blocks i have 5 blocks
      is it possible in fxdreema?

      0_1672697353856_08.png

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

        @aliso Add a shared link to look at, this is likely possible but it depends on what each block has to do.

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

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

          @jstap
          imagine i have sth like this
          https://fxdreema.com/shared/MCiXnN1D

          it really does not matter what are the blocks
          if there is a solution for combining the blocks love to know how its done

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

            No, not possible, not as you imagine at least. You can have such such group of blocks, give the top one a custom name (instead of the number), and run this top block with "Run blocks" from anywhere. However, no values are passed. It's like a function in any programming language, but without input arguments or a return value. There are Variables that you can use to pass values around, they are global, and this comes with its negatives.

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

              @fxdreema
              is it sth like this?
              i just want to be sure

              https://fxdreema.com/shared/TnvJAnRZd

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

              Online Users

              E
              S
              N
              O
              M
              D

              15
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors