Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

All Market Analyzer templates throw Index Out Of Range

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

    All Market Analyzer templates throw Index Out Of Range

    Today my Market Analyzer windows loaded up totally blank. No tab titles, no columns. While investigating, I created a blank workspace and added a Market Analyzer window. I have about 20 Market Analyzer templates, and now none of them work. Attempting to apply any template to any Market Analyzer window resulted in this 'IndexOutOfRangeException'. Here's the trace file output:

    Code:
    2023-02-06 08:06:25:138 5 MarketAnalyzer MA2Tab1 10 Sym 6 Col
    2023-02-06 08:11:13:115 *************** unhandled exception trapped ***************
    2023-02-06 08:11:13:115 Index was outside the bounds of the array.
    2023-02-06 08:11:13:118 System.IndexOutOfRangeException: Index was outside the bounds of the array.
    at NinjaTrader.Gui.MarketAnalyzer.MarketAnalyzerGrid. Restore(XElement element, Boolean asTemplate)
    at NinjaTrader.Gui.MarketAnalyzer.MarketAnalyzerGrid. ApplyTemplate(String fileName)
    at NinjaTrader.Gui.MarketAnalyzer.MarketAnalyzerGrid. OnTemplateLoad(Object sender, RoutedEventArgs e)
    at System.Windows.EventRoute.InvokeHandlersImpl(Objec t source, RoutedEventArgs args, Boolean reRaised)
    at System.Windows.UIElement.RaiseEventImpl(Dependency Object sender, RoutedEventArgs args)
    at System.Windows.Controls.MenuItem.InvokeClickAfterR ender(Object arg)
    at System.Windows.Threading.ExceptionWrapper.Internal RealCall(Delegate callback, Object args, Int32 numArgs)
    at System.Windows.Threading.ExceptionWrapper.TryCatch When(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
    2023-02-06 08:12:32:707 *************** unhandled exception trapped ***************
    2023-02-06 08:12:32:707 Index was outside the bounds of the array.
    2023-02-06 08:12:32:707 System.IndexOutOfRangeException: Index was outside the bounds of the array.
    at NinjaTrader.Gui.MarketAnalyzer.MarketAnalyzerGrid. Restore(XElement element, Boolean asTemplate)
    at NinjaTrader.Gui.MarketAnalyzer.MarketAnalyzerGrid. ApplyTemplate(String fileName)
    at NinjaTrader.Gui.MarketAnalyzer.MarketAnalyzerGrid. OnTemplateLoad(Object sender, RoutedEventArgs e)
    at System.Windows.EventRoute.InvokeHandlersImpl(Objec t source, RoutedEventArgs args, Boolean reRaised)
    at System.Windows.UIElement.RaiseEventImpl(Dependency Object sender, RoutedEventArgs args)
    at System.Windows.Controls.MenuItem.InvokeClickAfterR ender(Object arg)
    at System.Windows.Threading.ExceptionWrapper.Internal RealCall(Delegate callback, Object args, Int32 numArgs)
    at System.Windows.Threading.ExceptionWrapper.TryCatch When(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
    2023-02-06 08:13:07:281 *************** unhandled exception trapped ***************
    2023-02-06 08:13:07:281 Index was outside the bounds of the array.
    2023-02-06 08:13:07:281 System.IndexOutOfRangeException: Index was outside the bounds of the array.
    at NinjaTrader.Gui.MarketAnalyzer.MarketAnalyzerGrid. Restore(XElement element, Boolean asTemplate)
    at NinjaTrader.Gui.MarketAnalyzer.MarketAnalyzerGrid. ApplyTemplate(String fileName)
    at NinjaTrader.Gui.MarketAnalyzer.MarketAnalyzerGrid. OnTemplateLoad(Object sender, RoutedEventArgs e)
    at System.Windows.EventRoute.InvokeHandlersImpl(Objec t source, RoutedEventArgs args, Boolean reRaised)
    at System.Windows.UIElement.RaiseEventImpl(Dependency Object sender, RoutedEventArgs args)
    at System.Windows.Controls.MenuItem.InvokeClickAfterR ender(Object arg)
    at System.Windows.Threading.ExceptionWrapper.Internal RealCall(Delegate callback, Object args, Int32 numArgs)
    at System.Windows.Threading.ExceptionWrapper.TryCatch When(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
    2023-02-06 08:17:09:645 *************** unhandled exception trapped ***************
    2023-02-06 08:17:09:645 Index was outside the bounds of the array.
    2023-02-06 08:17:09:645 System.IndexOutOfRangeException: Index was outside the bounds of the array.
    at NinjaTrader.Gui.MarketAnalyzer.MarketAnalyzerGrid. Restore(XElement element, Boolean asTemplate)
    at NinjaTrader.Gui.MarketAnalyzer.MarketAnalyzerGrid. ApplyTemplate(String fileName)
    at NinjaTrader.Gui.MarketAnalyzer.MarketAnalyzerGrid. OnTemplateLoad(Object sender, RoutedEventArgs e)
    at System.Windows.EventRoute.InvokeHandlersImpl(Objec t source, RoutedEventArgs args, Boolean reRaised)
    at System.Windows.UIElement.RaiseEventImpl(Dependency Object sender, RoutedEventArgs args)
    at System.Windows.Controls.MenuItem.InvokeClickAfterR ender(Object arg)
    at System.Windows.Threading.ExceptionWrapper.Internal RealCall(Delegate callback, Object args, Int32 numArgs)
    at System.Windows.Threading.ExceptionWrapper.TryCatch When(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
    How can this be fixed?
    thanks.


    #2
    Hello tecmisc1​,

    Thank you for the inquiry.

    Can you please confirm whether you are using a strategy or are trying to custom script an addon?

    Please follow the steps below to manually attach your log and trace files to an email to platformsupport[AT]ninjatrader[DOT]com with "ATTN SEV 03692351" in the subject line so I may investigate this matter further.
    • Open your NinjaTrader folder under Documents.
    • Right click on the 'log' and 'trace' folders and select Send To> Compressed (zipped) Folder.
    • Send the 2 compressed folders as attachments to this email.
    • Once complete, you can delete these compressed folders.
    I look forward to your reply.​

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by andrewtrades, Today, 04:57 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by chbruno, Today, 04:10 PM
    0 responses
    5 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Started by josh18955, 03-25-2023, 11:16 AM
    6 responses
    436 views
    0 likes
    Last Post Delerium  
    Started by FAQtrader, Today, 03:35 PM
    0 responses
    7 views
    0 likes
    Last Post FAQtrader  
    Started by rocketman7, Today, 09:41 AM
    5 responses
    19 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X