Is it possable to make a Timer that counts how many hours...minutes...seconds are left untill the next bar is going to print; on any given time preiod? I've recently been studying Woodies CCi and it highly suggests to wait untill the last 20 secs of the current bar (when a Woodies CCi pattern has formed) before placing a trade. Only problem is, there's no way for me to even guess when the chart is going to move onto the next bar. I did some reading up on MQL4 and spent a solid 3 days trying to program something like this on my own without success.
My Main problem is trying to get the timer to update every second. I can get it to update whenever a new quote comes in like most indicators operate, but any other way just seems to cycles through the code non-stop and freezes up MT4

. I've also tried to search the forum and googling for a chart counter for MT4 and found nothing.
Any suggestions?