Your example is very very good :-))) THX a lot! Yes, I'm not interested what time is it, but when bar starts. Now from variable "NewPeriod" I know, when in real-time current bar is ended.
But I have example (period 1 Hour): At 9:59:50 I know(if any qutations are in last hour), that time to end this bar is 10 second, and I know OHLC for this bar. At 10:02:56 I know time for end this period (but not necessarily this is time to end a current bar), but how can I know if there are any quotations in this new period? Is it understandable? Regards
