However, OnBarUpdate only needs to be called once per bar.
Is there a proper way to detect if OnBarUpdate is called for a new bar or because of OnPriceChange?
Or do I have to store the CurrentBar in a private field and check if the CurrentBar has changed?
Comment