fxDreema

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

    Candle time thill end

    Questions & Answers
    3
    9
    336
    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.
    • G
      Gilles last edited by

      Hi everyone,
      I would like to use the "Comment" block to display the candle time thill end.
      Do you know how to do that?
      Thank you in advance for your response.

      S 1 Reply Last reply Reply Quote 0
      • G
        Gilles last edited by

        Do you have any ideas, please?

        1 Reply Last reply Reply Quote 0
        • S
          seb 0 @Gilles last edited by

          @Gilles
          You want the time of what candle ? Till end of what ? Do you want the time of the candle to be displayed, and this till end; or do you want displayed the time remaining till the end of the thing?

          G 1 Reply Last reply Reply Quote 0
          • G
            Gilles @seb 0 last edited by

            @seb-0 I would like to use a "Comment" block to display the countdown of the time remaining until the end of the current candle period.
            Do you know how to do that?
            Thank you for your response.

            S 1 Reply Last reply Reply Quote 0
            • S
              seb 0 @Gilles last edited by

              @Gilles
              This way ?
              https://fxdreema.com/shared/RgQSHTp4c

              G 2 Replies Last reply Reply Quote 0
              • G
                Gilles @seb 0 last edited by

                @seb-0 Thank you, I would like to display the time in a comment block like this:

                db79dfbc-95c5-4d2d-a01d-c44041ef8eea-image.png

                What change or modification should be made to make this possible?

                1 Reply Last reply Reply Quote 0
                • G
                  Gilles @seb 0 last edited by

                  @seb-0 I made a slight modification for it to work since the variable was already present.

                  e7c839a6-8c56-43a6-8e90-43480adf9257-image.png

                  Here is the result:
                  b53d4b9d-c901-46a2-b808-482d897b9f25-image.png

                  Thank you very much :)!

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    seb 0 @Gilles last edited by seb 0

                    @Gilles
                    You can also display it in time format : TimeToString((int(iTime(_Symbol,PERIOD_CURRENT,0))+PeriodSeconds(PERIOD_CURRENT))-int(TimeCurrent()),TIME_SECONDS)
                    Glad to see you mastered it.

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

                      https://fxdreema.com/shared/MHNAbC5qc

                      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

                      S
                      G
                      L
                      K
                      H

                      17
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors