I want the indicator to be robust and be able to tolerate issues related to delayed stock open.
If I understand correctly, given the event driven nature of NT, the first bar for a particular instrument will start when the first price (trade) tick arrives for that session. On that Tick, the OnBarUpdate method will be called with Bars.FirstBarOfSession = true and FirstTickOfBar = true.
This will work even if the opening of the stock is delayed due to some reason. So even if other instruments are actively receiving live data, if a stock opens later than other instruments, the first tick which NT receives will trigger a OnBarUpdate event with the FirstBarOfSession and FirstTickOfBar true. This assumes, that the Bars were added using the MarketDataType.Last option in the indicator.
Please confirm.
As an enhancement, it would greatly simplify programing if NT added the following two Callbacks
-> OnSessionOpen() : Called when the first tick of the session is received
-> OnSessionClose(): Called when the clock strikes the end of the session.
The second one is especially needed for doing end of day/week/month based analysis.

Comment