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
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by GussJ, 03-04-2020, 03:11 PM
    11 responses
    3,228 views
    0 likes
    Last Post xiinteractive  
    Started by andrewtrades, Today, 04:57 PM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by chbruno, Today, 04:10 PM
    0 responses
    7 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Started by josh18955, 03-25-2023, 11:16 AM
    6 responses
    440 views
    0 likes
    Last Post Delerium  
    Started by FAQtrader, Today, 03:35 PM
    0 responses
    12 views
    0 likes
    Last Post FAQtrader  
    Working...
    X