IsLastBarOfSession
<< Click to Display Table of Contents >> IsLastBarOfSession |
Indicates if the current bar processing is the last bar updated in a trading session.
Notes: •This property will always return false on non-intraday bar periods (e.g., Day, Month, etc.) •When running Calculate.OnEachTick / OnPriceChange, this property will always return true on the most current real-time bar since it is the last bar that is updating in the trading session. If you need to find a bar which coincides with the session end time, please use the SessionIterator.ActualSessionEnd. |
This property returns true if the bar is the last processed in a session; otherwise, false. This property is read-only.
protected override void OnBarUpdate() |