protected override int calculate() { return(bars.count() - barsStart + start); }
public BarCounter(SpudBase bars, int start) : base(bars.manager) { this.start = start; this.bars = dependsOn(bars); barsStart = bars.count(); }
protected override int calculate() { return(bars.count() - barsStart + start); }
public BarCounter(SpudBase bars, int start) : base(bars.manager) { this.start = start; this.bars = dependsOn(bars); barsStart = bars.count(); }