This is wrong! Do you read the code? Lastbartimeleftrt is not based on pc clock!
"Status( "lastbartimeleftrt" ) to use datetime of last update sent by data source instead of current local time."
And interval() - lastbartimeleftrt == 0 starts event at new bar.
This is one part of one of YOUR quotes: 'on new 5 min bar do this'.
And that's what the example is doing.
Uhm, it is in NT and if your truly in real time they should be the same.
How are you going to handle tick charts - that's what I work with ?