This script allows you to add customizable period separators on your TradingView charts. You can select the timeframe for the separators, and they will only be visible on the same or lower timeframes. This is useful for visually distinguishing different periods, such as hours, days, or weeks, directly on your chart.
How to Use:
Add the Indicator: Add the "Period Separator All Timeframes" indicator to your TradingView chart.
Configure Separator Settings: Separator Color: Choose the color for the period separator lines. Separator Style: Select the line style (Solid, Dashed, Dotted). Separator Width: Set the width of the separator lines. Separator Timeframe: Select the timeframe for the separators (e.g., 1 hour, 1 day). View the Separators: The separators will be drawn at the start of each new period based on the selected timeframe.
They will only be visible on the same or lower timeframes.
Use this indicator to easily differentiate between trading sessions, hours, days, or any other timeframe you choose, enhancing your chart analysis and trading strategy.
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.
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.