Hi,
I'm using 1 minute bar on JPY A0-FX, and at the end of bar time 15:05 I use rawtime() to return a value, which is supposed to be 15:06 after the conversion. However, I found that if there is no data bar until the bar time is 15:08, the rawtime() returns a time that is equivalent to 15:06, which is clearly wrong as the bar has been skipped and has become 15:08 by now instead of 15:06 from the converted rawtime() stamp.
Is there a way to correctly get the rawtime even though some bars are skipped?
Thanks,
William
I'm using 1 minute bar on JPY A0-FX, and at the end of bar time 15:05 I use rawtime() to return a value, which is supposed to be 15:06 after the conversion. However, I found that if there is no data bar until the bar time is 15:08, the rawtime() returns a time that is equivalent to 15:06, which is clearly wrong as the bar has been skipped and has become 15:08 by now instead of 15:06 from the converted rawtime() stamp.
Is there a way to correctly get the rawtime even though some bars are skipped?
Thanks,
William
Comment