Strange thing is that on the same chart period Bars.FirstBarOfSession is always correct. So the first bar of the new sesion is recognized, but Bars.BarsSinceSession keeps counting bars from previous session.
If Bars.FirstBarOfSession is triggered, how is it possible that Bars.BarsSinceSession doesn't start to count at zero ?
The problem described above occurs on downloaded ReplayData from 9/11/2011 to 9/19/2011 ES future on a 4Renko chart. But it is very likely it also occurs on other replay data, because I've encountered this several times.
Marco

Comment