OPEN-SOURCE SCRIPT
GBR S/R Lines and 4h Alert

GBR Dynamic S/R Lines & 4H Alerts is a purpose-built, institutional-grade indicator designed for prop firm traders and day traders who need absolute precision without chart clutter.
Instead of getting chopped up in lower timeframe noise, this indicator automatically identifies major liquidity pools and pivot points. Its most powerful feature is the Forced Multi-Timeframe (MTF) Logic: it calculates the higher-timeframe structural levels (default: 4-Hour) and projects them directly onto your active execution chart (e.g., 1m, 5m, or 15m).
🔥 Key Features:
Forced 4H Levels: Never lose sight of the macro picture. See where the "big money" steps in while trading on the micro timeframes.
Zero Clutter: Stripped of messy vertical connecting lines. It only plots clean, unbroken horizontal S/R lines.
Dynamic Price Labels: Automatically updates and displays the exact price value of the active Support/Resistance levels on the right side of the chart.
Built-in Sniper Alerts: Set it and forget it. Includes pre-configured alert conditions that trigger the exact moment the price tests a critical structural level.
Fully Customizable: Adjust the pivot sensitivity (Left/Right bars) to filter out minor swings and only focus on major turning points.
🎯 How to use:
Treat this indicator as your radar. Keep it running in the background, wait for the push alert to trigger at a major 4H zone, and then execute your standard entry setups (reversals or breakouts) on your lower timeframe with maximum confidence.
Instead of getting chopped up in lower timeframe noise, this indicator automatically identifies major liquidity pools and pivot points. Its most powerful feature is the Forced Multi-Timeframe (MTF) Logic: it calculates the higher-timeframe structural levels (default: 4-Hour) and projects them directly onto your active execution chart (e.g., 1m, 5m, or 15m).
🔥 Key Features:
Forced 4H Levels: Never lose sight of the macro picture. See where the "big money" steps in while trading on the micro timeframes.
Zero Clutter: Stripped of messy vertical connecting lines. It only plots clean, unbroken horizontal S/R lines.
Dynamic Price Labels: Automatically updates and displays the exact price value of the active Support/Resistance levels on the right side of the chart.
Built-in Sniper Alerts: Set it and forget it. Includes pre-configured alert conditions that trigger the exact moment the price tests a critical structural level.
Fully Customizable: Adjust the pivot sensitivity (Left/Right bars) to filter out minor swings and only focus on major turning points.
🎯 How to use:
Treat this indicator as your radar. Keep it running in the background, wait for the push alert to trigger at a major 4H zone, and then execute your standard entry setups (reversals or breakouts) on your lower timeframe with maximum confidence.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.