public BollingerModified BollingerModified(ISeries <double> input, double numStdDev, int period, TypeBBMA bollingerBandMA) { if (cacheBollingerModified != null) { for (int idx = 0; idx < cacheBollingerModified.Length; idx++) { if (cacheBollingerModified[idx] != null && cacheBollingerModified[idx].NumStdDev == numStdDev && cacheBollingerModified[idx].Period == period && cacheBollingerModified[idx].BollingerBandMA == bollingerBandMA && cacheBollingerModified[idx].EqualsInput(input)) { return(cacheBollingerModified[idx]); } } } return(CacheIndicator <BollingerModified>(new BollingerModified() { NumStdDev = numStdDev, Period = period, BollingerBandMA = bollingerBandMA }, input, ref cacheBollingerModified)); }
public Indicators.BollingerModified BollingerModified(ISeries <double> input, double numStdDev, int period, TypeBBMA bollingerBandMA) { return(indicator.BollingerModified(input, numStdDev, period, bollingerBandMA)); }
public BollingerModified BollingerModified(double numStdDev, int period, TypeBBMA bollingerBandMA) { return(BollingerModified(Input, numStdDev, period, bollingerBandMA)); }