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 sjsj2732, Yesterday, 04:31 AM
            0 responses
            38 views
            0 likes
            Last Post sjsj2732  
            Started by NullPointStrategies, 03-13-2026, 05:17 AM
            0 responses
            287 views
            0 likes
            Last Post NullPointStrategies  
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            289 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            134 views
            1 like
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            95 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Working...
            X