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