public PC(ISeries series, int length, BarData barData, CalcType calcType, UseLast useLast) : base(series) { this.length = length; this.barData = barData; this.calcType = calcType; this.useLast = useLast; this.Name = "PriceChannel"; }