fxDreema

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

    Condition Operator as Constant?

    Questions & Answers
    6
    9
    1502
    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.
    • drayzen
      drayzen last edited by

      It appears possible to set the Condition operator as a Constant.

      0_1528231836295_fxDreema - Condition Operator as Constant.png

      If this is possible, what type of Constant to use, string?

      ..the alien does not concern itself with the opinions of humans..

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

        I don't understand what do you want exactly. You can use your 'OrderPct' constant on the right side of the Condition block by choosing the option 'Value' at the upper display.

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

          If you read all of my post you'd see I was asking what data type to use, and if it will actually work or not.
          That OrderPct Constant is a double and wouldn't save.
          I tried another as a string and it still wouldn't save.
          ... so I'm asking if it's even possible, and if there's any tricks to make it work like using quotes or something.
          Did you test this yourself before telling me how to do it?

          @fxDreema , any help with this?

          ..the alien does not concern itself with the opinions of humans..

          fxDreema 1 Reply Last reply Reply Quote 0
          • M
            miro1360 last edited by

            it is not possible 🙂

            Between trading and gambling is a very small gap, be careful.

            1 Reply Last reply Reply Quote 0
            • fxDreema
              fxDreema @drayzen last edited by

              @drayzen It is string, but I'm not sure that it will work. This particular parameter is a little bit more special

              1 Reply Last reply Reply Quote 0
              • S
                Steven_ last edited by

                @fx-dreema my friend (customer) also request this, >, <, >=, <= and more set at constant, usually i tested in this account as dummy, and need to compile in another account

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

                  Use another condition at the top, from this to activate the block that contains this particular condition, you can use enum to create different options

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

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

                    @jstap can create a simple example for me see? i not that understand and familiar 😂

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

                      There is an example of enum here: https://fxdreema.com/shared/TRSxAxdmd

                      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
                      G
                      M
                      C
                      E
                      L
                      K
                      E
                      S
                      E
                      P
                      G
                      R
                      N
                      S

                      31
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors