Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom BarType Not Always working with Order Flow Cumulative Delta

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

    Custom BarType Not Always working with Order Flow Cumulative Delta

    I created a custom bartype that pretty much works fine for everything e.g backetst, trading, charting. Sometimes, when the chart and strategy are left open from session close to session open I get the following error when adding the Order Flow Cumulative Delta indicator to the chart.

    'Indicator 'Order Flow Cumulative Delta': Error on calling 'OnBarUpdate' method on bar 427760: Object reference not set to an instance of an object.'

    Actually it seems like maybe that error is occurring on the secondary Tick series maybe based on the bar number. Any ideas why this may be happening?

    Thanks,

    Evan

    #2
    Hello Evan, thanks for writing in.

    Please make sure you are running the latest version of NinjaTrader 8 by running the installer from the link below:

    Access step-by-step NinjaTrader platform training for desktop, web, and mobile. Explore video tutorials and practical guides to help you confidently use trading tools and features.


    We are not seeing the same issue in the default tick-based bar types, like Range. Could you Export your script and send it to me at scriptingsupport at ninjatrader.com and reference "Attn ChrisL 2910669" in the body of the email.
    https://ninjatrader.com/support/help...tAsSourceFiles - Export

    I look forward to hearing from you.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    87 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    127 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    65 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    117 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    67 views
    0 likes
    Last Post PaulMohn  
    Working...
    X