Example #1
0
 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);
 }
Example #2
0
 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");
 }
Example #3
0
 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);
 }
Example #4
0
 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");
 }