示例#1
0
 public EMAProbe(TickerReference ticker, int period)
 {
     _ticker = ticker;
     _Probe  = new EMAIndicator(PoolSizeConfig.GetPoolSize(typeof(EMAIndicator)), period);
 }
示例#2
0
 public SMA(int period)
 {
     _Probe = new SMAIndicator(PoolSizeConfig.GetPoolSize(typeof(SMAIndicator)), period);
 }
示例#3
0
 public SMACrossProbe(TickerReference ticker, int firstSMAPeriod, int secondSMAPeriod, Action crossed)
     : base(ticker)
 {
     Probe = new SMACrossEvent(PoolSizeConfig.GetPoolSize(typeof(SMAIndicator)), firstSMAPeriod, secondSMAPeriod, crossed);
 }