Print("CurrentBar+1: " + (CurrentBar + 1) + " OpenCount: " + Open.Count + " TimeCount: " + Time.Count);
On the last bar loaded you should see all of the above being equal, in reality CurrentBar+1 (since it is 0 indexed) is still one less than, eg. Open.Count or Time.Count.
One additional test you can do is in OnStateChange() in the State.Transition from State.Historical you can place the following:
Print("Test: " + Open[Open.Count - 1]);
Comment