We have a function "SessionLastBar" that return True if the actual bar was the last bar of a day session. I don't see a function to return true if the actual bar was the first of the session
Is there one? Anyway to determine it? I did try
Code: Select all
If SessionLastBar = True then SessionFirstBar = True
It doesn't work. It return true when SessionLastBar = True
I understand that I could use an input value and select the starting time, but I would like my function to be universal in an GMT time.