Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Not Enterting Orders

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

    Strategy Not Enterting Orders

    Hi all...

    I have a strategy I now works properly b/c I've used it recently. However, it didn't work the last time I used it, and I'm not sure why. The only clue I have is an error message in the log, which appears a little cryptic to me. Can someone please translate this for me?

    Error on calling 'OnBarUpdate' method for strategy 'ESNightGrabber': Index was out of range. Must be non-negative and less than the size of the collection.

    #2
    Hi heyligerb, most likely you try to access an array / index value that does not exist at some point you would need to debug your code to track this down. Try / catch blocks will be helpful - http://www.ninjatrader-support2.com/...ead.php?t=9825

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    14 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    119 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    172 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    88 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    131 views
    0 likes
    Last Post cmoran13  
    Working...
    X