fxDreema

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

    How to use Toggle Blocks?

    Questions & Answers
    2
    5
    708
    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.
    • fxbam
      fxbam last edited by

      I'm planning to make a couple of different strategies that I would like to switch from one to another if I wish. I haven't done anything with the blocks yet but you can see what I'm trying to do. If I was on my chart, I would like the option to go into my EA settings and toggle to another strategy if I want to. Does anyone have an idea on how to do that?https://fxdreema.com/shared/yo5mz5VX

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

        @fxbam This block will switch other blocks on or off when something triggers it to activate, I would use a button to do what you want. You can see how here:

        https://fxdreema.com/forum/topic/14594/create-buttons-that-work-in-mt4-mt5-live-demo-back-test

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

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

          @jstap I'll take a look, thank you.

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

            I guess what I'm trying to do is be able to switch the 2 Buy buttons and the 2 Sell buttons if I want to.

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

              @fxbam In that button project are two buttons that change a bool variable, in your project use a button like that so when you click it it uses the bool to switch between buys and sells.

              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
              O
              K
              M
              M

              18
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors