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 philmg, Today, 12:55 PM
    0 responses
    2 views
    0 likes
    Last Post philmg
    by philmg
     
    Started by Russ Moreland, Today, 12:54 PM
    0 responses
    2 views
    0 likes
    Last Post Russ Moreland  
    Started by f.saeidi, Today, 12:14 PM
    2 responses
    5 views
    0 likes
    Last Post f.saeidi  
    Started by TradeForge, 04-19-2024, 02:09 AM
    2 responses
    28 views
    0 likes
    Last Post TradeForge  
    Started by aprilfool, 12-03-2022, 03:01 PM
    3 responses
    327 views
    0 likes
    Last Post NinjaTrader_Adrian  
    Working...
    X