fxDreema

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

    Date and time

    Questions & Answers
    2
    5
    1835
    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.
    • J
      james last edited by

      I can show date and time in a "Comment on chart (low level)" block by using:

      [code=mql4]TimeToStr(TimeCurrent(),TIME_DATE|TIME_MINUTES|TIME_SECONDS)[/code]

      However, this won't work if I wish to use the "Comment on chart" block. I tried placing the above line in the "value numeric" field.

      How can I show date and time using the "Comment on chart" block? It is simply a matter of convenience to save typing out stuff! 🙂

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

        Try Comment on chart (low level)

        1 Reply Last reply Reply Quote 0
        • J
          james last edited by

          Er... as I said, "I can show date and time in a "Comment on chart (low level)""... 🙂

          So I know that works! 🙂

          But I just wondered why I couldn't get this to work in a"Comment on chart" block?

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

            Because there is nothing for "Time" in Condition, but you can try to put this function in Value (numeric)... I think it's possible to
            work.

            1 Reply Last reply Reply Quote 0
            • J
              james last edited by

              I'm really sorry about this. I think I haven't explained myself well enough.

              I actually did as you suggested; I inserted the statement into the Value (numeric) field, but that didn't work. 🙂

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

              Online Users

              P
              K
              M

              15
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors