fxDreema

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

    creating a button that can provide other buttons when you click it

    Questions & Answers
    2
    6
    990
    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.
    • M
      MICHELLE 1 last edited by

      hi im stuck i want to create a button that can provide me with other buttons when i click it and delete those buttons once i click it again at the moment i can only create one that can provide those buttons but cannot delete the buttons when i click it again

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

        @michelle-1When you click a button it should stay on, switching the draw buttons to on, when pressed again it should switch off and activate the delete block. If you look at Miro1360 work you will see how to do this, if you struggle put a shared link here and ideas of what to do can be given.

        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
        • M
          MICHELLE 1 last edited by

          hi i cannot seem to get it right here is my link shared/qHF7W89hd

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

            @michelle-1 Are you aware that on chart doesn't work on back test? You have a select object by name but no object with that name, I wouldn't have modify above the draw blocks, and I would put a pass block above all, make these changes and if still not working put the latest link.

            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
            • M
              MICHELLE 1 last edited by

              hi yes problem here is that when i click button algo trading, a new button appears , wich is what i want , but then when i click the algo trading button again , the other button supposed to disappear but i cannot make that possible ,below is my link shared/ZJLIb7CJd

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

                @michelle-1 In here is what I do to achieve what your doing, you don't need mouse click as a condition block will achieve the same, you will also see how to add to on tick so you can back test to check results.

                Where I have a bool variable changing you can use something like draw or delete.

                Ignore what I have things called 🙂

                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

                V
                E

                13
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors