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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    619 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    420 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    293 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    414 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    367 views
    0 likes
    Last Post CarlTrading  
    Working...
    X