fxDreema

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

    Why am I getting warning "Expression is always false"

    Questions & Answers
    3
    7
    476
    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.
    • T
      traxis last edited by

      I am trying to create a TRUE or FALSE condition

      Whenever I compile, I get warnings that say "expression is always false"

      Yes, the condition works, but how do I get rid of this warning... what am I doing wrong

      https://fxdreema.com/shared/KDQLNOGmb

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

        @traxis Your condition is always true, set a variable/constant to check against, put something beneath so something happens if condition is true.

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

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

          @jstap Nope, didn't work... still getting that message when I compile

          Here is the updated project, I created 2 constants, one for the long side and one for the short side but still getting that error message

          https://fxdreema.com/shared/CSjFvAhO

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

            @traxis Remove the speech marks from the strings.

            0_1632858679994_e9427940-91ee-4368-af31-7ca459d186eb-image.png

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

            l'andorrà 1 Reply Last reply Reply Quote 0
            • l'andorrà
              l'andorrà @jstap last edited by

              @jstap What do you exactly mean by 'speech marks'?

              (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

              (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

              (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

              jstap 1 Reply Last reply Reply Quote 0
              • jstap
                jstap @l'andorrà last edited by

                @l-andorrà I mean " " if in the constants EA can't match what is needed.

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

                l'andorrà 1 Reply Last reply Reply Quote 0
                • l'andorrà
                  l'andorrà @jstap last edited by

                  @jstap Ok, thanks.

                  (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                  (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                  (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

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

                  Online Users

                  M
                  F
                  H
                  S
                  A
                  T
                  C
                  S

                  21
                  Online

                  146.9k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors