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

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

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