fxDreema

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

    How to define a portion of a variable name from user input as a constant

    Questions & Answers
    variables string constants
    4
    8
    1819
    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
      nmbruno last edited by

      Hi,
      Is there a way to define a portion of a variable name using a user-defined string (as an input constant)?

      For instance, if I have a variable named "Lotsize_XX" in my algorithm, and I want to run the EA for XAUUSD.
      I want to be able to define a string constant "XAUUSD" which will then change my variable's name from "Lotsize_XX" to "Lotsize_XAUUSD"

      Is there a way to do this in fxdreema?

      Thanks

      TipsyWisdom l'andorrà jstap 3 Replies Last reply Reply Quote 0
      • TipsyWisdom
        TipsyWisdom @nmbruno last edited by

        @nmbruno easiest way to comment is in the bottom of each buy and sell block.

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

          @nmbruno Interesting question. Not sure if that is possible in fxDreema without custom code. Any programmer here to let us know?

          (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.

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

            @nmbruno In this link you can see how to put the current symbol into a variable, and how to take the first 3 and last 3 and put them into separate variables, using these principles you should be able to do all you require, it doesn't whether the starting point is a constant or variable just make sure their named differently. Hope this helps

            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 l'andorrà 2 Replies Last reply Reply Quote 2
            • N
              nmbruno @jstap last edited by

              @jstap Thanks, I believe this will help me.

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

                @jstap Interesting. I think this is the proof that only custom code can do that.

                (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.

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

                  @l-andorrà Yes I try to stay away from custom but some times it is the only way.

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

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

                    @jstap Agreed. And that's a tragedy for all of un non-programmers. 😞

                    (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.

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

                    Online Users

                    E
                    M
                    F
                    A
                    M
                    E

                    19
                    Online

                    146.6k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors