/// <summary> /// Инициализировать <see cref="DiPart"/>. /// </summary> protected DiPart() { _averageTrueRange = new AverageTrueRange(new WilderMovingAverage(), new TrueRange()); _movingAverage = new WilderMovingAverage(); Length = 5; }