Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Showing clock / time anywhere on chart

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Showing clock / time anywhere on chart

    Hi,

    I would like to show the clock with the current time on the chart. I run my charts maximised with the windows taskbar auto-hide feature on, so I don't see any clock for the current time.

    Is there a simple option to turn on a 'Time marker' for the x-axis on the chart which behaves the same as the Price Marker on the y-axis?

    Alternatively, is there an indicator similar to Bar Timer which would display a clock on the bottom edge of the chart?

    Alternatively, if I want to code it myself, rather than copying Bar Timer which is quite complex, is there a recommended way to do it? Or is that usage of the 'Timer' the only way to do it?

    Thanks

    #2
    Hi adamus, there's unfortunately no 'current time' marker counterpart - I would simply code an indicator running COBC false and using DrawTextFixed to show the DateTime.Now (your current PC time). If you convert it to string there are some display options then, like short or long time format whatever you prefer.

    Comment


      #3
      Hi Bertrand,

      thanks for the advice.

      Regards
      Adam

      Comment


        #4
        Mindset coded this.

        World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.

        Comment


          #5
          Nice, thanks

          Comment


            #6
            Can you show me how to code this? The link doest work anymore.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Mindset, 04-21-2026, 06:46 AM
            0 responses
            101 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by M4ndoo, 04-20-2026, 05:21 PM
            0 responses
            144 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by M4ndoo, 04-19-2026, 05:54 PM
            0 responses
            71 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by cmoran13, 04-16-2026, 01:02 PM
            0 responses
            125 views
            0 likes
            Last Post cmoran13  
            Started by PaulMohn, 04-10-2026, 11:11 AM
            0 responses
            79 views
            0 likes
            Last Post PaulMohn  
            Working...
            X