public BollingerBandWidth(IEnumerable <TInput> inputs, Func <TInput, decimal> inputMapper, Func <TInput, decimal?, TOutput> outputMapper, int periodCount, decimal sdCount) : base(inputs, inputMapper, outputMapper) { _bb = new BollingerBandsByTuple(inputs.Select(inputMapper), periodCount, sdCount); PeriodCount = periodCount; SdCount = sdCount; }
public BollingerBandsInRange(IEnumerable <TInput> inputs, Func <TInput, decimal> inputMapper, Func <TInput, Overboundary?, TOutput> outputMapper, int periodCount, decimal sdCount) : base(inputs, inputMapper, outputMapper) { _bb = new BollingerBandsByTuple(inputs.Select(inputMapper), periodCount, sdCount); }