Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Index Outside of the bounds of the array

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

    Index Outside of the bounds of the array

    I have a host/guest Indicator arrangement and I just cannot seem to escape the the Index Outside of the Bounds of the Array error. If I run the guest without the host, it is rock solid. However, when I run the host (which calls the guest) I get these errors:

    Indicator 'Guest': Error on calling 'EventHandlerMarketData' method: Index was outside the bounds of the array.
    Indicator 'Host': Error on calling 'EventHandlerBarsUpdate' method: Object reference not set to an instance of an object


    Interestingly, I am running in Debug with VS and VS does not throw any exception. I feel like this is an issue with my host/guest not being written in a thread safe way but I am not sure. This project is really close to completion after about 6 months of really hard work and I am at the end of my rope trying to debug this. I've got a month and many forum posts wrapped up in trying to debug this. is there anyway someone at NT could just run this for me and tell me what they see?

    #2
    Hello swcooke,

    Thank you for your reply.

    I'd be happy to run it and take a look to see if I can make any debugging suggestions for you. If you'd like to export the scripts, you can send them to platformsupport [at] ninjatrader [dot] com. Please put 2487531 ATTN Kate W. in the subject line. Once I receive it, I will review and see if I can give you some guidance.

    Thanks in advance, I look forward to assisting you further.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    44 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    56 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    35 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    95 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    57 views
    0 likes
    Last Post PaulMohn  
    Working...
    X