Пример #1
0
        public Interfaces.Indicators.MovingAverageConDiv MovingAverageConDiv(int fastPeriod, int slowPeriod, int signalPeriod, DataStream stream)
        {
            var nmodule = new MovingAverageConDiv(fastPeriod, slowPeriod, signalPeriod, stream, _manager.Agent.TimeFrame);

            return(_manager.Subscribe <MovingAverageConDiv>(nmodule));
        }
Пример #2
0
        public Interfaces.Indicators.MovingAverageConDiv MovingAverageConDiv(int fastPeriod, int slowPeriod, int signalPeriod, TimeSpan barSize, DataStream stream, Func <Bar, decimal> comp = null)
        {
            var nmodule = new MovingAverageConDiv(fastPeriod, slowPeriod, signalPeriod, barSize, stream, comp);

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