예제 #1
0
        public Interfaces.Indicators.ChandeMomentumOscillator ChandeMomentumOscillator(int period, DataStream stream, TimeSpan barSize, Func <Bar, decimal> comp = null)
        {
            var nmodule = new ChandeMomentumOscillator(period, barSize, stream, comp);

            return(_manager.Subscribe <ChandeMomentumOscillator>(nmodule));
        }
예제 #2
0
        public Interfaces.Indicators.ChandeMomentumOscillator ChandeMomentumOscillator(int period, DataStream stream)
        {
            var nmodule = new ChandeMomentumOscillator(period, _manager.Agent.TimeFrame, stream);

            return(_manager.Subscribe <ChandeMomentumOscillator>(nmodule));
        }