예제 #1
0
        public ParabolicSAR ParabolicSAR(int period, double accelerator, double maximum, DataStream stream, TimeSpan barSize)
        {
            var nmodule = new ParabolicSar(period, accelerator, maximum, stream, barSize);

            return(_manager.Subscribe <ParabolicSar>(nmodule));
        }
예제 #2
0
        public ParabolicSAR ParabolicSAR(int period, double accelerator, double maximum, DataStream stream, TimeSpan barSize, Func <Bar, decimal> calcHigh, Func <Bar, decimal> calcLow)
        {
            var nmodule = new ParabolicSar(period, accelerator, maximum, stream, barSize, calcHigh, calcLow);

            return(_manager.Subscribe <ParabolicSar>(nmodule));
        }
예제 #3
0
        public ParabolicSAR ParabolicSAR(int period, double accelerator, double maximum, DataStream stream)
        {
            var nmodule = new ParabolicSar(period, accelerator, maximum, stream, _manager.Agent.TimeFrame);

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