My questions are:
1) If I update an indicator and recompile, does the MA template use the updated indicator? ( It seems like my broken template is still retrieving old compiled indicator code, because I've added catch print statements to the NT output and control center but none of these statements appear)
2) How can I track down exactly what's causing this exception? I've looked in the NT trace files and get 3 unhandled exceptions like this, but no specific data:
=====================
2020-04-13 08:38:31:898 *************** unhandled exception trapped ***************
2020-04-13 08:38:31:899 Index was outside the bounds of the array.
2020-04-13 08:38:31:904 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)
=======================
thanks,
Comment