fxDreema

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

    How to select block via bool

    Questions & Answers
    5
    12
    617
    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.
    • J
      jphuman1997 last edited by

      Hi guys /Experts.

      i want to make my ea to switch between risks. if i set all bools to true then i want all of the conditions to trade. but if i only select medium risk then i only want that one to trade is this possible? Please look at the image Capture.PNG

      1 Reply Last reply Reply Quote 0
      • O
        orbis last edited by

        i also wish to know about this

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

          Yes if constant = true do this, if constant = false do this

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

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

            @jstap can you please show me an example

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

              If you put a project together, you can add a shared project here and say what's not working

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

                image.png

                heres an example of how to use a block to compare 2 variables. the right output is false, left is true

                J 1 Reply Last reply Reply Quote 0
                • J
                  jphuman1997 @TipsyWisdom last edited by

                  @TipsyWisdom To be honest i really need more than this example 🙇

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

                    image.png
                    that is this middle block, it is a boolean block. just type the name of your boolean in the block and if its true itll go left, else right

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

                      image.png

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        jphuman1997 @TipsyWisdom last edited by

                        @TipsyWisdom im strugling to understand.. i need a full example of one. can you give me an example for. if macd is above level 0 no trades should be opened. i got that right. now i want it to auto close trades when the lavel on macd is above 0. i got that right so now what i want to do is give it an option of a bool. auto close trades true or fales if level is above on the macd

                        1 Reply Last reply Reply Quote 0
                        • I
                          Ipod last edited by

                          Without seeing your project this is my best guess at what you're trying to achieve.

                          https://fxdreema.com/shared/NTO8Wh4U

                          image.png

                          J 1 Reply Last reply Reply Quote 0
                          • J
                            jphuman1997 @Ipod last edited by

                            @Ipod thank you very much ill try this

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post

                            Online Users

                            R
                            F
                            S

                            13
                            Online

                            146.7k
                            Users

                            22.4k
                            Topics

                            122.6k
                            Posts

                            Powered by NodeBB Forums | Contributors