OPEN-SOURCE SCRIPT

Sessions with timeframe filter

112
🕒 Smart Timeframe Filtering
This session indicator includes an automatic filter that disables all session boxes when the chart timeframe is greater than the user-defined input. This helps keep higher-timeframe charts clean and focused by hiding intraday sessions when they’re no longer relevant — especially helpful for multi-timeframe traders.

🔍 Features:
📦 Draws up to 3 customizable session boxes with dynamic high/low tracking.

⏱️ Auto-disables on higher timeframes (Smart Timeframe Filter).

🌍 Fully customizable session times, box colors, and time zone (GMT-based).

⚡ Optimized for performance using lightweight, non-overlapping box logic.

👨‍🍳 UI is organized like a chef’s kitchen: clean, intuitive, and easy to navigate. Settings are grouped and filtered to avoid clutter.

✅ Best Use:
This indicator is most useful for intraday traders on 1m–15m charts.
It’s designed to keep your workspace clean on 30m+ charts or whatever threshold you define.

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.