public BollingerKeltnerEMARule(DataBars db, double BolligerPeriod, double kUp, double kDn, double EmaPeriod, double AtrMult, double AtrPeriod, double emaShortPeriod, double emaLongPeriod) { bolliger = Indicators.BBANDS.Series(db.Close, BolligerPeriod, kUp, kDn, "bolliger"); keltner = Indicators.KELTNER.Series(db, EmaPeriod, AtrMult, AtrPeriod, "keltner"); emaRule = new TwoEMARule(db.Close, emaShortPeriod, emaLongPeriod); }
public BollingerKeltnerMarketTrend(DataBars db, double BolligerPeriod, double kUp, double kDn, double EmaPeriod, double AtrMult, double AtrPeriod) { bolliger = Indicators.BBANDS.Series(db.Close, BolligerPeriod, kUp, kDn, "bolliger"); keltner = Indicators.KELTNER.Series(db, EmaPeriod, AtrMult, AtrPeriod, "keltner"); }
public BollingerKeltnerEMARule(DataBars db,double BolligerPeriod,double kUp,double kDn,double EmaPeriod,double AtrMult,double AtrPeriod,double emaShortPeriod,double emaLongPeriod) { bolliger=Indicators.BBANDS.Series(db.Close,BolligerPeriod,kUp,kDn,"bolliger"); keltner=Indicators.KELTNER.Series(db,EmaPeriod,AtrMult,AtrPeriod,"keltner"); emaRule = new TwoEMARule(db.Close, emaShortPeriod, emaLongPeriod); }