Hi Revo,
Course, I told you.
As I explained before, it's not a problem with the platform. Markets simply work like that, you can't possibly know the bar close untill the next bar has opened.
Except, of course, you code in the market closing hour. The problem is this is not a very "clean"...