Per the description:
This is the raw timeframe output as integer, not string.
To go back to string outputs (for use in security calls etc) unslash line 52 //resvalue
For higher timeframes, you will need to divide the "tmult" by 1440 and add "D" to the string, like this:
Modulo makes sure any remainder is truncated, you can also set the "step" function so, for example, 70 mins base * 0.5 at step 10, would be 40 instead of 35.
Especially useful for calling resolutions with fib relationships or exponential relationships