fxDreema

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

    Adding variables

    Questions & Answers
    2
    6
    241
    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.
    • S
      sssddd last edited by

      Hi, I want to add 30 variables into one output variable, is there a way to do this in one block?

      Like a formula block that can continously do adding instead of just once?

      Thanks

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

        Yes but exactly what you need will depend, custom code block with v2 + v1 +v3;for example will add them all

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

          How would I code this for example Variable 1 name(s)= V1, V2, V3. Answer to go into V4

          Custom MQL5 code block:

          V1+V2+V3=V4:

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

            V4 = V1 + V2 + V3; If you put the variables into a comment block, then you can see the result on screen.

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

              thank you so much

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

                @sssddd Your welcome

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

                Online Users

                D
                C
                M
                A
                H
                G
                E

                11
                Online

                146.8k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors