Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

bar length & session length

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

    bar length & session length

    I notice that if I put 4 hour bars, the 2nd bar of the day doesn't end until the 4 hours are up, even though my session end time occurs before the end of the bar.

    I was expecting the bar to end at the end of the session time and not continue past.

    I'm wondering how this works. Let's say I put a 4 hour bar with session of 9:30 - 4 (regular trading hours). The first 4 hour bar would end at 1:30 and the 2nd would end at 5:30. Since the session ends at 4, what data is used for the 4 hour bar? Does it stop at 4 or does it have data from 4-5:30?

    #2
    The bar would be officially closed once the 1st tick of the 1st bar in the next session comes in. The first tick of a new bar always triggers the closing of the prior bar.
    RayNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    71 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    39 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    63 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    63 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X