Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How does NT process bars with no trades

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

    How does NT process bars with no trades

    Hello,

    How does NT process bars with no trades? For example, on 1min chart, if between 10:00:00:000 to 10:00:59:999, there is no trade at all, how does NT fire OnBarUpdate() event? I think in NT, the bar with timestamp 10:01 is still drawn but no ObBarUpdate() is called if
    CalculateOnBarClose
    is set to false. While if
    CalculateOnBarClose
    is set to true, would OnBarUpdate() be called at time 10:00:01:000?

    #2
    >> 10:00:00:000 to 10:00:59:999, there is no trade at all
    Then there would be no bar and OnBarUpdate would not be fired

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    42 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    29 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    46 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    38 views
    0 likes
    Last Post CarlTrading  
    Working...
    X