Im using Bars.IsFirstBarOfSession to execute a method when is first bar of a session but im using it inside of IsFirstTickOfBar because i want to execute onBarUpdate in a closing bar using Calculate.OnEachTick.
May I need to have something in mind to get the first bar of the session when im using OnEachTick?
Thank you
Comment