Hello,
I'm getting a null ref exception when using Bars.IsFirstBarOfSession.
After a lot of crying and debugging I figured out it happens only with Tick Replay enabled and my strategy requires Tick Replay...
My OnBarUpdate is also configured with Calculate=OnEachTick.
I managed to isolate the problem in a simple script: Here
Here is a screenshot of the exception, notice that the stack trace points that the error is occurring inside GetIsFirstBarOfSession which I don't have the
source code for unfortunately...
Comment