OPEN-SOURCE SCRIPT

Multi-Timeframe Period Separators

█ OVERVIEW

This indicator plots period separators for up to four higher timeframes. The separators are fully customizable and designed to work on any symbols.


█ FEATURES

Reference

You can choose to plot the separators starting from midnight 00:00 or the opening of the exchange trading session.

Timezone

You can specify to localize midnight 00:00 to the region of your liking. The timezone format conveniently requires no manual adjustment during clock changes.


█ NOTES

Scans the bar opening and closing times

The script checks the bar `time` and `time_close` to pinpoint the separators that can occur intrabar.

Tracks from the last separator

The script tracks the time elapsed since the last separator, which is useful when there is no trading activity or the market is closed. As it can result in missing bars, it plots the separator on the first available bar.

Others

The script automatically hides the separators when navigating to an equal or higher chart timeframe.
CyclesdailyseparatordayseparatormultitimeframeperiodseparatorTIMEverticalverticallineweeklyseparatorweekseparator

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?


🌟 Listed as "Trusted Pine Programmer"

👨‍💻 Coding services: sbtnc.dev/hire-pine-script-developer

🔒 Premium indicators: sbtnc.gumroad.com

☕️ Tip: buymeacoffee.com/sbtnc
Also on:

Disclaimer