PROTECTED SOURCE SCRIPT
Updated

4H Separators

49
Description:
This indicator draws vertical 4-hour session separators that automatically adapt to the daily open of any instrument. Perfect for session traders who need a clean chart that resets every day.

Key Features:

Auto-Adaptive Logic: Uses time("D") to sync perfectly with the daily open of your chart (Crypto, Futures, Forex). No more manual timezone adjustments.

Daily Reset (Clean Chart): Draws lines ONLY for the current day. Old lines are automatically deleted when a new day begins, keeping your chart clutter-free.

Customizable: Toggle individual lines, adjust style (solid/dashed/dotted), or apply a manual hour offset if needed.

How it works:
It detects the exact "Day Open" timestamp for the current symbol and plots lines at +0h, +4h, +8h, +12h, +16h, and +20h relative to that open. When the new daily candle opens, the grid resets.
Release Notes
This indicator draws vertical 4-hour session separators that automatically adapt to the daily open of any instrument. Perfect for session traders who need a clean chart that resets every day.

Key Features:

Auto-Adaptive Logic: Uses time("D") to sync perfectly with the daily open of your chart (Crypto, Futures, Forex). No more manual timezone adjustments.

Daily Reset (Clean Chart): Draws lines ONLY for the current day. Old lines are automatically deleted when a new day begins, keeping your chart clutter-free.

Customizable: Toggle individual lines, adjust style (solid/dashed/dotted), or apply a manual hour offset if needed.

How it works:
It detects the exact "Day Open" timestamp for the current symbol and plots lines at +0h, +4h, +8h, +12h, +16h, and +20h relative to that open. When the new daily candle opens, the grid resets.
Release Notes
+ judas swing
Release Notes
+ RANGE

Disclaimer

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.