fxDreema

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

    It is impossible to capture the value of a "Draw Edit Field" block

    Questions & Answers
    2
    8
    623
    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.
    • R
      Rodrigo Ortuzar last edited by

      It seems that it is impossible to capture the value of a "Drow Edit Field" block to modify a variable. https://fxdreema.com/shared/B7BVfIDqc
      Someone can confirm it ?

      0_1651512282509_9e718341-dc89-4e46-9b96-049f4a3cceeb-image.png

      Affectionate Rodrigo

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

        @rodrigo-ortuzar Try removing the purple block and getting the data from on tick.

        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
        • R
          Rodrigo Ortuzar last edited by

          Hi JSTAP, Delete the purple block and move it out of "on Chart" and into "on Tick". The name of the variable is "Variables" and its initial value is 0.0 and what happens in "on Ticks" is that at each tick the value of the variable returns to 0.0 regardless of whether I have changed it to another value, example 10 and enter , at the next tick it returns to 0.0.
          https://fxdreema.com/shared/GNVhfkHgd

          Affectionate Rodrigo

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

            @rodrigo-ortuzar You don't need to redraw the block on tick just read the value, when you redraw it resets the value so looses whatever you have put in the edit field.

            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
            • R
              Rodrigo Ortuzar last edited by

              Remove the "Draw Edit Field" block in on Tick, but still the "Modify Variables" block does not capture the value entered in the "Draw Edit Field" block.
              https://fxdreema.com/shared/7U7fYvl9c
              jstap jstap if you have tried it working, it doesn't work for me. But thanks for your patience.

              Affectionate Rodrigo

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

                @rodrigo-ortuzar Use text not numeric, on chart will likely work using text, you'll see how I got working here: https://fxdreema.com/shared/5kcCJaWeb

                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
                • R
                  Rodrigo Ortuzar last edited by

                  Great now YES, look at this EA rescue as text and enter the numeric variable. https://fxdreema.com/shared/hUXl505eb
                  The only thing that doesn't work for me is the effect when pressing the buttons, but the important thing is ok.

                  Affectionate Rodrigo

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

                    @rodrigo-ortuzar I have never done it on chart, all I can say is try different options until it works.

                    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

                    S
                    F
                    C
                    A

                    12
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors