Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

End of session or end of bar event

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

    End of session or end of bar event

    I want to detect when the last bar of the session has closed

    How do I do this?

    #2
    hi clam61, the end of bar is just the same as the next new bar starts forming, so you could work with FirstTickOfBar for this - http://www.ninjatrader-support.com/H...TickOfBar.html

    Comment


      #3
      the problem is that i am talking about the last bar of the session...so the firsttickofbar for the next bar wont fire because the session ended

      Comment


        #4
        The last bar of the session does not close till the beginning of the first bar of the next session.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          is there any other event that i can use, or do i have to custom monitor the time myself

          Comment


            #6
            Best would be to monitor the time yourself in the code, here's a reference sample for time filters - http://www.ninjatrader-support2.com/...ead.php?t=3226

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by cmoran13, Yesterday, 01:02 PM
            0 responses
            29 views
            0 likes
            Last Post cmoran13  
            Started by PaulMohn, 04-10-2026, 11:11 AM
            0 responses
            21 views
            0 likes
            Last Post PaulMohn  
            Started by CarlTrading, 03-31-2026, 09:41 PM
            1 response
            160 views
            1 like
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            95 views
            1 like
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            148 views
            2 likes
            Last Post CaptainJack  
            Working...
            X