This is not new to BETA3 either, but finally got a way to trap the problem for reproduction. This issue only shows with "Tick Replay" enabled on a chart. Adding a indicator to that chart with the "Data Box" open, causes this Exception.
Here is how to reproduce the problem:
1) Open a CL 1 Range chart with 5 days loaded (Tick Replay enabled)
2) Add the VWAP indicator I will send to you to the chart
3) Open the Data Box
4) Right click on the chart and "Reload NinjaScript", this will generate the error
Without the "Data Box" open, reloading doesn't case the exception.
I will email support with the VWAP indicator.
2015-07-16 18:16:49:377 'barsAgo' needed to be between 0 and 269 but was -35635
Parameter name: barsAgo
2015-07-16 18:16:49:379 System.ArgumentOutOfRangeException: 'barsAgo' needed to be between 0 and 269 but was -35635
Parameter name: barsAgo
at NinjaTrader.NinjaScript.Series`1.IsValidDataPoint( Int32 barsAgo)
at NinjaTrader.Gui.Chart.ChartControl.UpdateDatabox(B oolean force)
at NinjaTrader.Gui.Chart.ChartControl.OnDataBoxTimerT ick(Object sender, EventArgs e)
at System.Windows.Threading.DispatcherTimer.FireTick( Object unused)
at System.Windows.Threading.ExceptionWrapper.Internal RealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCat chWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
Comment