PROTECTED SOURCE SCRIPT
Chainbey AI - 4H Dynamic Range (Auto Reset + Alert)

📌 Chainbey AI – 4H Dynamic Range (Auto Reset + Strong Breakout Alerts)
Chainbey AI – 4H Dynamic Range is a professional, clean, and non-repainting range-based indicator designed to identify high-probability market structure on the 4H timeframe and help traders execute precisely on lower timeframes (5m / 15m).
This tool automatically detects the active 4H range (mother candle), continuously updates it, and resets only after a confirmed strong breakout, keeping your chart clean and focused on what really matters.
🔍 How It Works
✅ 4H Dynamic Range Detection
Automatically marks the current active 4H range using:
High & Low lines
Background fill with adjustable opacity
The range stays active as long as price remains inside it.
🔁 Smart Auto Reset Logic
The range is not reset by random wicks.
It resets only when a strong 4H breakout is confirmed (based on your selected rules).
When broken, the old range is cleared and a new 4H range is detected automatically.
🔔 Alerts (Very Important)
This indicator includes two powerful alert types:
1️⃣ New 4H Range Found
Triggered when:
A strong breakout is confirmed
The indicator resets and starts tracking a new 4H range
📢 Use this alert to know when market structure has changed.
2️⃣ Strong 4H Range Breakout (UP / DOWN)
Triggered when:
A confirmed 4H candle close breaks above or below the range
Optional ATR buffer and impulse strength filters are satisfied
📢 Use this alert to prepare for continuation, trend shift, or pullback trades.
✅ Alerts are based on confirmed 4H candles, making them stable and non-repainting.
⚙️ Strong Breakout Filtering (User Adjustable)
You can choose how strict the breakout confirmation should be:
Close only
Close + ATR buffer (recommended)
Close + ATR buffer + impulse candle strength
This helps eliminate fake breakouts and noise.
🎯 Best Use Case
Identify HTF structure
Trade range highs / lows
Confirm breakouts before entering
Perfect for Forex, Gold (XAUUSD), Crypto, Indices
🧠 Why Chainbey AI?
Chainbey AI focuses on clarity, confirmation, and discipline—not over-signals or clutter.
If you want to trade what matters, not what moves randomly, this indicator is built for you.
📌 Tip:
For alerts, use “Once per bar close” for the most reliable results.
Chainbey AI – 4H Dynamic Range is a professional, clean, and non-repainting range-based indicator designed to identify high-probability market structure on the 4H timeframe and help traders execute precisely on lower timeframes (5m / 15m).
This tool automatically detects the active 4H range (mother candle), continuously updates it, and resets only after a confirmed strong breakout, keeping your chart clean and focused on what really matters.
🔍 How It Works
✅ 4H Dynamic Range Detection
Automatically marks the current active 4H range using:
High & Low lines
Background fill with adjustable opacity
The range stays active as long as price remains inside it.
🔁 Smart Auto Reset Logic
The range is not reset by random wicks.
It resets only when a strong 4H breakout is confirmed (based on your selected rules).
When broken, the old range is cleared and a new 4H range is detected automatically.
🔔 Alerts (Very Important)
This indicator includes two powerful alert types:
1️⃣ New 4H Range Found
Triggered when:
A strong breakout is confirmed
The indicator resets and starts tracking a new 4H range
📢 Use this alert to know when market structure has changed.
2️⃣ Strong 4H Range Breakout (UP / DOWN)
Triggered when:
A confirmed 4H candle close breaks above or below the range
Optional ATR buffer and impulse strength filters are satisfied
📢 Use this alert to prepare for continuation, trend shift, or pullback trades.
✅ Alerts are based on confirmed 4H candles, making them stable and non-repainting.
⚙️ Strong Breakout Filtering (User Adjustable)
You can choose how strict the breakout confirmation should be:
Close only
Close + ATR buffer (recommended)
Close + ATR buffer + impulse candle strength
This helps eliminate fake breakouts and noise.
🎯 Best Use Case
Identify HTF structure
Trade range highs / lows
Confirm breakouts before entering
Perfect for Forex, Gold (XAUUSD), Crypto, Indices
🧠 Why Chainbey AI?
Chainbey AI focuses on clarity, confirmation, and discipline—not over-signals or clutter.
If you want to trade what matters, not what moves randomly, this indicator is built for you.
📌 Tip:
For alerts, use “Once per bar close” for the most reliable results.
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用,没有任何限制 — 了解更多信息这里。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用,没有任何限制 — 了解更多信息这里。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。