OPEN-SOURCE SCRIPT

HTF Bar Close Countdown

This simple indicator displays a countdown for the amount of time left until a bar of your chosen timeframe closes.
Displays up to 5 different HTF countdowns.
Fully Customizable to fit any style, change the text colors, background colors, frame colors, display size and border & frame widths.
Flat display option for a sleek look to mesh with your charts.

Notes/Tips:
  • Higher Time Frames only! This is only intended to view HTF countdowns, will not work when trying to use a timeframe lower than your current chart's.
  • Some weird timeframes do not work, you'll know when.
  • Only works on live charts! Will display "Closed" when on an inactive chart.
  • Does not work for replay! A countdown is pretty pointless on a replay that is not real-time anyways...


Enjoy!
barclosebartimebartimercandlecountdowncountcountdowneducationalHTFmultitimeframePine utilitiesTIMEtimer

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer