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