/// <summary> /// Computes the next value of the following sub-indicators from the given state: /// StandardDeviation, MiddleBand, UpperBand, LowerBand, BandWidth, %B /// </summary> /// <param name="input">The input given to the indicator</param> /// <returns>The input is returned unmodified.</returns> protected override decimal ComputeNextValue(IndicatorDataPoint input) { BB.Update(input); LB.Add(BB.LowerBand); UB.Add(BB.UpperBand); return(BB.MiddleBand); }