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

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


🌟 Listed as "Trusted Pine Programmer"

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

🔒 Premium indicators: sbtnc.gumroad.com
更多:

免责声明