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