コード例 #1
0
        public Interfaces.Indicators.AroonOscillator AroonOscillator(int period, DataStream stream, TimeSpan barSize)
        {
            var nmodule = new AroonOscillator(period, barSize, stream);

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

            return(_manager.Subscribe <AroonOscillator>(nmodule));
        }
コード例 #3
0
        public Interfaces.Indicators.AroonOscillator AroonOscillator(int period, DataStream stream, TimeSpan barSize, Func <Bar, decimal> computeLow, Func <Bar, decimal> computeHigh)
        {
            var nmodule = new AroonOscillator(period, barSize, stream, computeLow, computeHigh);

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