Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OnBarUpdate() not firing for last bar of End of Day data

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

    OnBarUpdate() not firing for last bar of End of Day data

    While developing a custom indicator, I am noticing that the last bar of End of Day data does not cause OnBarUpdate() to fire. This causes the respective data series Open, High, etc to not reflect the last trading day's data.
    I found a similar thread from three years ago (referencing NT 6.5), that stated this problem arises because OnBarUpdate does not fire until at least one tick of the next bar comes through.
    How can I force an OnBarUpdate (or some other workaround) so that I can get Open, etc to reflect the last bar's data in End of Day data?

    -- I have tried setting CalculateOnBarClose to both true and false, and the last bar is still not appearing within these data series.
    -- I have tried this with Kinetick EOD and Yahoo datafeeds. Both do not show the last bar within data series.

    #2
    Hello,

    Thanks for the note and welcome to the NinjaTrader support forum.

    Thank for searching before posting as well!

    You would not be able to force this sorry.

    Your best move is to get away from the free connections and use for example the full version of kinetick so you are getting some live data. You can only run strategies live on live data unfortunately.



    Let me know if I can be of further assistance.
    BrettNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    579 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    334 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    554 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    551 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X