public Interfaces.Indicators.MovingAverage MovingAverage(int period, MovingAverageType maType, DataStream stream, TimeSpan barSize, Func <Bar, decimal> comp = null) { var nmodule = new MovingAverage(period, barSize, maType, stream, comp); return(_manager.Subscribe <MovingAverage>(nmodule)); }
public Interfaces.Indicators.MovingAverage MovingAverage(int period, MovingAverageType maType, DataStream stream) { var nmodule = new MovingAverage(period, maType, stream, _manager.Agent.TimeFrame); return(_manager.Subscribe <MovingAverage>(nmodule)); }