fxDreema

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

    display the entered timeframe constant

    Questions & Answers
    3
    7
    524
    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.
    • R
      RGoo last edited by

      Hello, does anyone know how I can display a timeframe value entered in the constants in the display? FxDreema doesn't know the TimeFrameToString(TF) function and returns an error message.

      RGoo

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

        In market properties, you have the current timeframe. Anything else can be achieved, but you need to give more information on what you are doing.

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

        R 1 Reply Last reply Reply Quote 0
        • S
          sktsec @RGoo last edited by

          @RGoo
          Both Period() and _Period return the current period as integer. Say, 60 means 1 hour.

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

            @jstap , @sktsec
            Thank you for the answers, I forgot to write that I don't need the current time frame to be displayed, but rather a time frame that I have stored in the constants. So I would always like to know which time frame my indicator refers to in the current time frame. Here are some pictures, all the code wouldn't be helpful.

            633b2cee-531f-4a7f-8135-83b9da415e20-image.png

            50c6a4e1-5018-4b2f-b62c-5bf33039b461-image.png

            72e73b17-a3c4-46ed-b55a-4867af4abcde-image.png

            RGoo

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

              Comment, text code input, constant with the TF

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

              R 1 Reply Last reply Reply Quote 1
              • R
                RGoo @jstap last edited by

                @jstap
                thanks, it worked

                RGoo

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

                  Your welcome

                  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

                  B
                  E
                  A
                  M
                  B
                  C
                  J
                  K

                  13
                  Online

                  146.9k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors