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 smjfamily, 03-24-2023, 04:11 PM
    2 responses
    69 views
    0 likes
    Last Post smjfamily  
    Started by ronyggg83, 02-09-2023, 06:54 PM
    26 responses
    558 views
    0 likes
    Last Post NinjaTrader_Ray  
    Started by nettony, Today, 01:55 AM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_Ray  
    Started by amigatlin, Yesterday, 07:45 PM
    1 response
    24 views
    0 likes
    Last Post NinjaTrader_Ray  
    Started by Hong Nguyen, Yesterday, 08:17 PM
    1 response
    27 views
    0 likes
    Last Post NinjaTrader_Ray  
    Working...
    X