New bar detection in MQL 5???

 

Can someone please post a snippet of code for detecting a new bar in MQL 5. I kinda remember how to do it in MQL4 but I was hoping that it would be different/easier in MQL 5. I was hoping that they would FINALLY make this an event procedure, but that doesn't seem to be the case.


TIA!

 
Me too, it would be nice but sounds like its not going to be the case.
 
We are welcome a discussion of MQL5 on the MQL5 Community site.