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 charlesugo_1, 05-26-2026, 05:03 PM
            0 responses
            58 views
            0 likes
            Last Post charlesugo_1  
            Started by DannyP96, 05-18-2026, 02:38 PM
            1 response
            143 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 05-11-2026, 05:56 AM
            0 responses
            161 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 05-10-2026, 08:12 PM
            0 responses
            97 views
            0 likes
            Last Post CarlTrading  
            Started by Hwop38, 05-04-2026, 07:02 PM
            0 responses
            276 views
            0 likes
            Last Post Hwop38
            by Hwop38
             
            Working...
            X