/// <summary> /// Gets the value. /// </summary> /// <returns></returns> public override IEnumerable <double> Update(Period period, bool normalize = true) { if (Periods.Count == Size) { Periods.Dequeue(); } Periods.Enqueue(period); Value = new double[1] { AveragePeriods() }; return(normalize ? Value.Select(v => Normalizers.Price.Normalize(v)) : Value); }