Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

draw a simple vertical line at specified time of day

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

    draw a simple vertical line at specified time of day

    I am looking for a way to draw a vertical line at a specified time of day

    #2
    Do you know how to reference the specific time of day you're thinking of?

    If so, do something like

    if(whatever time of day)
    {
    DrawVerticalLine(CurrentBar.ToString(), 0, FromKnownColor(KnownColor.Cyan));
    }

    you can set whatever color you want.
    mrlogik
    NinjaTrader Ecosystem Vendor - Purelogik Trading

    Comment


      #3
      time of day reference

      thanks for replying

      i would like to draw a vertical line at 10am EST...
      could you show me how that should look?

      Comment


        #4
        Please see here how to code time conditions: http://www.ninjatrader-support.com/H...V6/ToTime.html

        Comment


          #5
          With reference to this area....it would be nice that when you placed a vertical line on a chart with the draw tool ....that as you moved the line back and forth or into the future on your chart that the time would scroll and show in the Data Box...that way one could easily place a vertical line at specific times....

          Thanks...

          Comment


            #6
            Thanks for your suggestion. We'll add it to the list of future considerations.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Hwop38, 05-04-2026, 07:02 PM
            0 responses
            160 views
            0 likes
            Last Post Hwop38
            by Hwop38
             
            Started by CaptainJack, 04-24-2026, 11:07 PM
            0 responses
            307 views
            0 likes
            Last Post CaptainJack  
            Started by Mindset, 04-21-2026, 06:46 AM
            0 responses
            245 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by M4ndoo, 04-20-2026, 05:21 PM
            0 responses
            348 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by M4ndoo, 04-19-2026, 05:54 PM
            0 responses
            178 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Working...
            X