help ! Last Bar Time of a Session needed
Posted: May 08 2015
Is there a function that returns the "time" of the last bar of a session ?
I ran into an unusual situation where my session is 1730 to 2355 and my study expects 2355 to be the last bar in that session (before plotting) but no data came in during that last 5 minute interval, thus my study didn't plot...
If 2350 was the last 5 minute bar of the 1730-2355 session (instead of 2355), how can I have the code adjust for that ? (as easy as possible- I'm not a pro programmer)..
I ran into an unusual situation where my session is 1730 to 2355 and my study expects 2355 to be the last bar in that session (before plotting) but no data came in during that last 5 minute interval, thus my study didn't plot...
If 2350 was the last 5 minute bar of the 1730-2355 session (instead of 2355), how can I have the code adjust for that ? (as easy as possible- I'm not a pro programmer)..