fxDreema

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

    "expression not boolean" warning from using orange condition block

    Questions & Answers
    2
    4
    234
    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.
    • X
      Xeta50 last edited by

      Guys,

      I have found the warning from using if() code in the darker condition block although it seems to not effecting operational of the EA but it might be in the future 😵

      Do you know how to fix this warning with fxdreema ?

      https://fxdreema.com/shared/FvgUxHtJb

      The more I help out, the more successful I become. But I measure success in what it has done for the people around me. That is the real accolade:

      Give and Take

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

        Maybe your code, I use this regularly, and it works for me, try this: (_1StoOverBought==1 && _1RSI_OverBought==0)
        providing you have bool variables created with those names

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

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

          @jstap I did try every possible combination from variable type (bool and double), True/False instead of number for bool, number for double but the warning is still there, even with the current project in the link below (X_X)

          2c54c5cd-b03b-4cfb-af4c-c5b13243175e-image.png

          However, if I manually delete "0 | and | 0 " from both side of the code below, then the warning disappear....

          cca48adc-66cd-4bd5-b02d-5edb5f4c51d1-image.png

          Do your code have these "0 | and | 0" ?
          Could you please show me some of your blocks with this condition block and variable setting 🙏

          The more I help out, the more successful I become. But I measure success in what it has done for the people around me. That is the real accolade:

          Give and Take

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

            No, I use true & false but this does == 0 & 1

            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

            T
            S
            O
            K

            13
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors