Note:the script only works on 5-min chart.
if you wanna make it work on other timeframes, you can find the following part of the source code
--------
plotchar(time('5',............), and replace [5] to the specific number of your timeframe.
For example, if your timeframe is 15-min chart, just replace all the plotchar(time('5' to plotchar(time('15'