Take one Multi DataSeries chart (ES, TF, DX), one Single DataSeries chart and connect both to DOM. Toggling instruments will sometimes
- produce the correct result (first instrument of MultiDataSeries changed)
- produce false results (two or all instruments for MultiDataSeries changed to the same instrument)
- produce a crash (see below, single DataSeries chart had a pivots indicator)
0-04-08 23:19:20:578 in OnUnhandledApplicationException
2010-04-08 23:19:20:625 ********* exception trapped *********
2010-04-08 23:19:20:625 Das Element wurde bereits hinzugefügt. Schlüssel im Wörterbuch: "1". Hinzuzufügender Schlüssel: "1".
2010-04-08 23:19:20:625 System.ArgumentException: Das Element wurde bereits hinzugefügt. Schlüssel im Wörterbuch: "1". Hinzuzufügender Schlüssel: "1".
bei System.Windows.Forms.Control.MarshaledInvoke(Contr ol caller, Delegate method, Object[] args, Boolean synchronous)
bei System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
bei NinjaTrader.Cbi.SynchronizeInvoke.Invoke(Delegate method, Object[] args)
bei NinjaTrader.Gui.Chart.ChartControl.AddBarsInWorker ThreadBarsData(Object state)
bei System.Threading._ThreadPoolWaitCallback.WaitCallb ack_Context(Object state)
bei System.Threading.ExecutionContext.runTryCode(Objec t userData)
bei System.Runtime.CompilerServices.RuntimeHelpers.Exe cuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
bei System.Threading.ExecutionContext.RunInternal(Exec utionContext executionContext, ContextCallback callback, Object state)
bei System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
bei System.Threading._ThreadPoolWaitCallback.PerformWa itCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
bei System.Threading._ThreadPoolWaitCallback.PerformWa itCallback(Object state)

Comment