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

            return(_manager.Subscribe <Momentum>(nmodule));
        }
Esempio n. 2
0
        public Interfaces.Indicators.Momentum Momentum(int period, DataStream stream)
        {
            var nmodule = new Momentum(period, _manager.Agent.TimeFrame, stream);

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