public void nextBar() { var date = data.date(dateIndex); var current = data.currentBars(date); marketBarsProcessed += current.Count; nextBar(date, current, false); }