A Script to tell how long is it till the next candlestick.

 
Hi everyone! I'm new in trading, and using Indicator. I saw in a training video, on top left of his chart screen, was displayed the minutes / seconds / hours/ days left until the end of the current candlestick. Does anyone knows how to make this or any existing indicators that are capable of this. I know it's simple perhaps, if someone could just help me out. Thanks !
 
use B-clock indicator, you can download it on the code base section.
Reason: