is there an easy way to get the rawtime of a bar and convert it to current bar offset, or at least month/day/hour/min of bar?
I thought one could simple do basic math from the start of rawtime (in 1970) but that will not work because Advanced charts do not display **all** bars -- just bars that have data in them. You will get wrong offsets for sure.
I know you can get a bar and gets it rawtime easilt, but can you easily do the reverse -- know a bar's rawtime and convert it to (correct) offset, etc.
I thought one could simple do basic math from the start of rawtime (in 1970) but that will not work because Advanced charts do not display **all** bars -- just bars that have data in them. You will get wrong offsets for sure.
I know you can get a bar and gets it rawtime easilt, but can you easily do the reverse -- know a bar's rawtime and convert it to (correct) offset, etc.
Comment