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

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

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