When I try to run strategy evolver the below error runs up since upgrading to B66.
QUOTE:
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
at System.Collections.Generic.List`1.get_Item(Int32 index)
at WealthLab.TASC.MABandLower.Populate()
at WealthLab.Indicators.IndicatorFactory.ReconcileIndicator(IndicatorBase ib, BarHistory bh, List`1 indicators)
at WealthLab.Indicators.IndicatorFactory.ReconcileDummy(IndicatorBase ib)
at WealthLab.Core.Parameter.GetIndicatorDesc()
at WealthLab.Backtest.IndicatorCrossesSignalLine.get_Description()
at WealthLab8.cwStrategyEvolver.RegisterProcess(Object info, SelectionChangedEventArgs token)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.ListBox.OnSelectionChanged(SelectionChangedEventArgs e)
at System.Windows.Controls.Primitives.Selector.SelectionChanger.SelectJustThisItem(ItemInfo info, Boolean assumeInItemsCollection)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at WealthLab8.cwStrategyEvolver.CountProcess(Object param, RoutedEventArgs reg)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at WealthLab.WPF.WLButton.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Rename
I can't readily duplicate the error.
What symbol, scale, data range and Historical Provider are you working with?
What symbol, scale, data range and Historical Provider are you working with?
I tried to vary it with 20 different etfs and nasdaq and s&p500 datasets and still got the error. If I restart the app it sometimes helps but sometimes have to restart a couple times. also I found I can't hit the load data and then start. I have to hit the start button otherwise I get the error on both of my computers since upgrading to b66.
@Glitch
Certain changes designed to improve indicator descriptions generated in Blocks indeed appeared in B66 at WealthLab.Core.Parameter...(), maybe it has some connection?
Certain changes designed to improve indicator descriptions generated in Blocks indeed appeared in B66 at WealthLab.Core.Parameter...(), maybe it has some connection?
Unsure. I traced through the code and cannot duplicate it and cannot see why the exception would be occurring. Currently a mystery.
Okay, the symbol doesn't matter.
But how about the scale, data range, and historical provider you're using? We need something more to work with to identify the cause.
But how about the scale, data range, and historical provider you're using? We need something more to work with to identify the cause.
Single symbol TQQQ via wealthdata 2016-2021, 2022 -2024 for date sets. This the the error on both computers.
Your Response
Post
Edit Post
Login is required