GetTimeframe does the job (https://www.prorealcode.com/documentation/gettimeframe/) , but NOT for screeners. It’s availbale for indicators and strategies only, so you’d have to compare the time from one bar to next one with some math.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok