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