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 TraderBCL, Today, 04:38 AM
    2 responses
    17 views
    0 likes
    Last Post TraderBCL  
    Started by martin70, 03-24-2023, 04:58 AM
    14 responses
    106 views
    0 likes
    Last Post martin70  
    Started by Radano, 06-10-2021, 01:40 AM
    19 responses
    609 views
    0 likes
    Last Post Radano
    by Radano
     
    Started by thanajo, 05-04-2021, 02:11 AM
    4 responses
    471 views
    0 likes
    Last Post tradingnasdaqprueba  
    Working...
    X