fxDreema

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

    Bool pass - True

    Questions & Answers
    2
    9
    327
    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.
    • John Doe
      John Doe last edited by

      I have a simple one guys and I cannot remember how I done it.

      I need to set a bool to say that the condition is true then continue with the rest of my condition blocks.

      I have a candle crossing over a Moving Average then I want it to cross over in the opposite way, so I would need a bool to pass that condition to say "yes it's met"

      I tried putting both conditions on below the other but it obviously didn't work.

      Please advise!

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

        x> set bool to true, x< check 1st bool - run other blocks, same blocks but backwards in another tree connected to the other blocks. Rest 1st bool when no longer valid. If you struggle to get this working, 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! 😊

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

          @jstap my friend, my logic is on point and I do appreciate your advise.

          I would like to simply know how to run a bool using a condition block to pass the condition before it.

          That's all.

          I can remember doing so using a variable (next to constants) in a past project but deleted it by accident.

          Thanks!

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

            I thought I explained how, so maybe you should ask how to to the 1 thing you are struggling with... so now my sarcastic comment, you cannot change a constant from your robot, you can change an enum value in a variable, but this is a variable...

            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
            • John Doe
              John Doe last edited by John Doe

              I do know I cannot change a constant. It is quite evident now you are not reading clients' messages properly....I said "next to constants" in brackets! With all due respect buddy, the only reason I initially explained my query in depth is to allow you to know what I needed....it was to give you a keen insight into what needed to be done. All I would like to know, in all simplicity is how to place a bool. Thanks for your dedication!!

              Should have just kept my question nice and simple lol

              1 Reply Last reply Reply Quote 0
              • John Doe
                John Doe last edited by

                It's ok, I need to use a set flag. I figured it out. Thanks

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

                  You are welcome, I like many like to help others on here. It tends to be easier and more efficient to everyone if there is only a simple thing to answer. Then when implemented you can test and ask more. It helps people learn what they need to do for themselves.

                  have a good day

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

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

                    @jstap I do apologize, I will keep it short and simple next time.

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

                      @John-Doe 👍

                      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

                      E
                      A
                      G
                      Q
                      C
                      T
                      S

                      18
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors