Ejemplo n.º 1
0
        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;
        }
Ejemplo n.º 2
0
 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);
 }