fxDreema

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

    SL & TP Inputs on Chart

    Questions & Answers
    2
    10
    438
    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.
    • V
      vmaruziva last edited by vmaruziva

      Hi guys

      May you please assist me with building this small EA.

      I want to be able to display an input box on chart for SL and TP. This is how i want it to work. The box for SL will change all SL values for all types of trades, boxes for take profit -TP1 will change group 1 trades only, TP2 for group 2 and TP3 for group 3 only.

      @fx-dreema
      @l-andorrà '
      @roar

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

        Add a edit field to on init, on tick retrieve this value and put in a variable, test with this 1, put in a comment, once working add the other fields, you can then use these variables in other blocks.

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

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

          @jstap please assist me by creating an example for me, i am not good with variables. I will appreciate your help

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

            No but I will assist if you try and then add a shared link to look at.

            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
            • V
              vmaruziva last edited by

              @jstap

              https://fxdreema.com/shared/aEAWd9kCc

              This is what i have and i want it to work the way i described it above

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

                Ok so you have your EA, start a test project just getting the value from the edit field, I showed how 2 start above.

                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
                • V
                  vmaruziva last edited by

                  That is what i am not understanding hence i need assistance "getting the value from the edit field".

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

                    Then start a test project, pass block-draw edit field (on int), pass block- modify variable block, get data from object on chart (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
                    • V
                      vmaruziva last edited by vmaruziva

                      @jstap
                      Do you mean something like this
                      https://fxdreema.com/shared/nIMgoeT1c

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

                        This is how to do it, you can watch what happens when you change the edit field, is is a bit backwards, in as much as you need to use text to get the number. https://fxdreema.com/shared/Jms3Zj7Gd

                        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

                        C
                        K
                        T
                        K
                        D
                        K

                        19
                        Online

                        146.6k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors