fxDreema

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

    Create comment based on the defined constant

    Questions & Answers
    2
    11
    567
    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.
    • D
      drankman last edited by drankman

      Hello good people 🙂

      I have set the constant for the comment and put it on the buy now block and it works as it supposed to.

      0_1634645756370_e4d671c3-a025-4abd-8e75-d3f24cb66bbc-image.png

      0_1634645825002_27b422f6-d519-4fe2-bef8-1eceb919044d-image.png

      But I would like to have the comment based on the time constant (or any other constants)

      0_1634645877962_14b95568-ace6-4361-8930-30994002e003-image.png
      so every time I changed the time constant or the other constants, it will show in the comment section.

      Is that possible?

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

        @andrewfrank Is hard to see in your pictures. type needs to be ENUM_TIMEFRAMES and value needs to be capital at start Period_H4.

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

        D 1 Reply Last reply Reply Quote 1
        • D
          drankman @jstap last edited by drankman

          @jstap
          Did you mean like this?

          0_1634649708381_27e7cf6e-1f92-47d9-9592-10a4826885d9-image.png

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

            @andrewfrank Yes and this will only work in the timeframes box.

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

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

              @jstap ok. so whenever I changed the timeframe from the other constant, the comment will be changed accordingly?

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

                @andrewfrank Yes when you put this in a constant then in the inputs you should get a dropdown list Where you can select, as long as constant is in each required block then all will change from inputs.

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

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

                  @jstap oh okay. Thanks for the explanation, but I think I wasn't clear explaining my question..Sorry

                  What I would like to do, is it possible to add comment constant where it will automatically take the value from the other constant (for instance, time constant) without giving any input to the comment constant.

                  Lets say, I have time constant as below:
                  0_1634651546702_bca2873a-b3df-420d-a492-64bf4b98f63c-image.png

                  How do I set my comment constant, where it will take the value of time constant automatically, whenever I change the Timeframe_1?

                  Because what you mentioned above, in order to get the comment I need to select the period everytime I set the EA, right?
                  0_1634651602996_efb67ac8-050b-46ef-b1fd-3b164b18c372-image.png

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

                    @andrewfrank This is a good question and I'm not sure, if you use a variable rather than a constant then a condition/modify block can change, not sure if it will work though, the value would be text.

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

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

                      @jstap ok. If I put the Timeframe_1 constant in the comment, so whenever I change the Timeframe_1, the comment would also change..

                      would this be possible?

                      0_1634732792646_7db2d447-38a0-4a11-945f-381bada00bc5-image.png

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        drankman @drankman last edited by

                        @jstap it did work. I tried it on my demo

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

                          @andrewfrank 🙂

                          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

                          K
                          S
                          M

                          14
                          Online

                          146.8k
                          Users

                          22.4k
                          Topics

                          122.6k
                          Posts

                          Powered by NodeBB Forums | Contributors