IsLastBarOfSession
refers to the Daily Settlement Time and DAX still has 5 hours to go before the end of the session.
Would I need an input variable if so what type to represent 21:00:00 (DAX close in the UK)?
then create TimeSpan EndTime = new TimeSpan(21, 00, 00); then
if(Time[0] == EndTime)
//end of session
or are there easier ways?
Comment