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 Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    596 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    343 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    556 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    554 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X