protected void InitAdd() { InitExt(); Cross = new CrossLine(MainPanel.Params); Volumes = new GVerLevel(MainPanel.Params); //Interest = new GVerLevel(MainPanel.Params); GHorVolumes = new GHorVol(MainPanel.Params); LevelsOrders = new LevelsOrders(MainPanel.Params); Levels = new LevelsFree(MainPanel.Params); Indicators.Clear(); Indicators.Add(new MovingAverage(Candels.Panel)); Indicators.Add(new IndicatorCTHV(Candels.Panel)); Indicators.Add(new IndicatorHV(Candels.Panel)); Indicators.Add(ActiveTrades = new ActiveTrades(Candels.Panel)); Indicators.Add(ATR = new IndicatorATR(Candels.Panel)); Indicators.Add(LevelsSignal = new IndicatorPaintLevels(Candels.Panel)); Volumes.Values.CountLineValue = 5; //DeltaVol.Values.CountLineValue = 4; //Interest.Values.CountLineValue = 5; MainPanel.OnChangeRect += (rect) => { //Расчет всех панелей GetRectsPanels(); if (OnResize.NotIsNull()) { OnResize(rect); } }; InitLoopsEachCandle(); }