IsFirstBarofSession

Do you have any code that would prevent using that very first bar? Like if CurrentBars < 1 → return;