System.ArgumentNullException не обработано пользовательским кодом
Message=Значение не может быть неопределенным.
Имя параметра: key
Source=mscorlib
ParamName=key
StackTrace:
в System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
в System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value)
в Ecng.Collections.SynchronizedDictionary`2.TryGetValue(TKey key, TValue& value)
в Ecng.Collections.CollectionHelper.TryGetValue[TKey,TValue](IDictionary`2 dict, TKey key)
в Ecng.Collections.CollectionHelper.<>c__DisplayClass18`2.<TryGetValue>b__17(SynchronizedDictionary`2 d)
в Ecng.Collections.CollectionHelper.SyncGet[TCollection,TResult](TCollection collection, Func`2 func)
в Ecng.Collections.CollectionHelper.TryGetValue[TKey,TValue](SynchronizedDictionary`2 dict, TKey key)
в StockSharp.Algo.Candles.CandleContainer.GetCandles(CandleToken token)
в StockSharp.Algo.Candles.CandleContainer.GetCandles(CandleToken token, Range`1 timeRange)
в StockSharp.Algo.Candles.CandleHelper.#=qiC6ptCSlcVUQJqFV5JY543wtNVXLAi0e3EPPS9b48Vk=.#=qc5DqLhjr8idy5BMEvOHJWN0zCqSmcSZ_LsB75wwOC2c=(CandleToken #=qIhF33yS$LxpqUxiJEet0yw==)
в StockSharp.Algo.Candles.CandleHelper.#=qqiIvufx78UWGfDccsH$Fnw==[TCandle,TResult](ICandleManager #=qGK4QhtdlgBLEEnOqNLwqKw==, Security #=qNEXFLklvI7Zxz9yFamvEVw==, Object #=qiD9KTt3_6mz1q8Pfw0wOuA==, Func`2 #=q7LltzlhLBlcwLYBiFnFreQ==)
в StockSharp.Algo.Candles.CandleHelper.#=qn2HFvHBPU_XrxtJnbBnPrw==[TCandle](ICandleManager #=qZNjXYlY6Glra__f$m8nbQg==, Security #=qpT2rJ7EAFqJbhN_dp4R5Mw==, Object #=qXmNYxa6wjOyOlL9yFxtNvA==, Range`1 #=qd00i5tvk5kygJrK7G45Jfw==)
в StockSharp.Algo.Candles.CandleHelper.GetTimeFrameCandles(ICandleManager manager, Security security, TimeSpan timeFrame, Range`1 timeRange)
в TradeMax.MainWindow.DrawSma() в C:\Work\Economic\TradeMaxProject\TradeMaxProject\TradeMax_v0.1\MainWindow.xaml.cs:строка 221
в TradeMax.MainWindow.<Connect_Click>b__4(CandleToken token, IEnumerable`1 candles) в C:\Work\Economic\TradeMaxProject\TradeMaxProject\TradeMax_v0.1\MainWindow.xaml.cs:строка 160
в Ecng.Common.DelegateHelper.SafeInvoke[T1,T2](Action`2 handler, T1 arg1, T2 arg2)
в StockSharp.Algo.Candles.CandleManager.RaiseCandlesStarted(CandleToken token, IEnumerable`1 candles)
в Ecng.Common.DelegateHelper.SafeInvoke[T1,T2](Action`2 handler, T1 arg1, T2 arg2)
в StockSharp.Algo.Candles.CandleBuilder.RaiseNewCandles(CandleToken token, IEnumerable`1 candles)
в StockSharp.Algo.Candles.CandleBuilder.#=qkzejCOx1hZ$vDLqY03WrQg==(IEnumerable`1 #=qC_Er1ECiS$cK6$oG7tP8TA==)
InnerException: