3CRGANG - SUPPLY/DEMAND ZONES

What It Does
The 3CRGANG - Supply/Demand Zones indicator detects zones from historical highs and lows using fractal analysis with a 7-period ATR multiplier for boundary adjustment. It tracks five states (Untested, Verified, Weak, Flipped, Broken) based on test counts, offers customizable box styles and labels, and triggers alerts during active sessions (NYSE, LSE, etc.) using a custom holiday library (e.g., Lunar New Year for HKSE) to adjust for closures.
Why It’s Useful
This script uniquely integrates fractal pivot detection with ATR-adjusted boundaries and a custom holiday library for session-specific alerts, creating adaptive zones that reflect market volatility and global trading conditions. The fractal sensitivity ensures precise pivot points, ATR refines zone widths dynamically, and the holiday library prevents alerts during closures like Lunar New Year, reducing noise. This synergy streamlines analysis, offering a robust, all-in-one tool for traders across timeframes.
How It Works
The script operates in these steps:
- Zone Detection: Identifies fractals with a sensitivity factor (e.g., 6.0 times timeframe), applying a 7-period ATR multiplier and fuzz factor for boundaries.
- Zone Merging: Combines overlapping zones over multiple passes (up to 2), increasing test counts to reflect merged strength.
- State Classification: Updates states based on test frequency (e.g., Verified after exceeding a user-set threshold), with retroactive counting.
- Testing Methods: Uses dynamic bar/wick tests or mechanical pivot tests with a minimum gap to avoid overcounting.
- Visualization: Draws boxes with adjustable styles and labels showing state, size (pips or dollars), and test counts.
- Alerts: Triggers notifications during sessions, adjusted by a holiday library that mutes alerts during HKSE Lunar New Year and other closures, and respects Do Not Disturb settings.
Underlying Concepts
It employs fractal analysis for pivot identification, enhanced by ATR for volatility adaptation and a fuzz factor for fine-tuning boundaries. The custom holiday library, featuring region-specific dates like HKSE’s Lunar New Year, integrates with session logic to adjust alert timing, while multi-pass merging creates robust, evolving zones. This combination sets it apart with precise, context-aware functionality.
Use Case
Track a Verified Resistance zone to set a sell target during NYSE hours, enable alerts for Untested zones to catch initial tests, and plan trades around NYSE trading hours using holiday-adjusted alerts.
XAG/USD (m5 timeframe)
Chart Notes
The chart displays zones on XAGUSD (M5 timeframe), presenting a clear price action structure with three distinct zones. A green Verified Support zone, marked with a translucent green box, indicates a robust demand level that has been tested multiple times and held firm. A blue Weak Support zone, outlined with a lighter blue box, reflects a less-tested support level with fewer rejections, suggesting lower reliability. A gold Flipped Resistance zone, highlighted with a golden box, initially acted as a resistance with rejections before breaking through and retesting as a support zone, showcasing its transition. Labels appear to the right of each zone, displaying details such as "VERIFIED SUPPORT (6.72 points, T=3)" for the Verified zone, "WEAK SUPPORT (6.9 points, T=1)" for the Weak zone, and "FLIPPED SUPPORT (3.85 points, T=10)" for the Flipped zone, with sizes in dollars (or pips if under $1) and test counts included. Zones extend horizontally to the right based on the user-defined shift setting, with customizable dashed or dotted borders for enhanced visual clarity.
Settings
- Test Mode: Choose method (Dynamic - Bars or Mechanical - Pivots), set minimum test gap (0-2 bars), and weak zone threshold (1-3 tests).
- General: Adjust back limit (250-1000 bars).
- Pivot Filters: Set fractal sensitivity factor (5-14) and max merge passes (1-3).
- Zone Width: Define ATR multiplier (0-1) and fuzz factor (0-1).
- Visual: Select zone style (Solid, Dashed, Dotted), line width (1-3), shift end right (1-50 bars), and extension (None, Right, Both).
Visibility: Toggle display for each state (Untested, Verified, Weak, Flipped, Broken).
Labels: Enable labels, set shift (1-50 bars), size, and show size/test counts.
Alerts: Enable alerts by state (Untested, Weak, Verified, Flipped). - DND Settings: Set timezone, Do Not Disturb hours, and weekend alerts.
- Sessions Alerts: Filter alerts by exchange (NYSE, LSE, etc.) and holiday settings.
- Colors: Assign colors to each zone state and type.
Notes
Requires 500 bars of history for optimal performance. Alerts are muted during holidays (e.g., Lunar New Year) or Do Not Disturb periods.
Why its Private?
The source code for this script contains a truly unique logic that's tailored to my own principles and approach to trading, which I've developed over time. The way it combines fractal pivots with ATR-adjusted boundaries and multi-pass merging isn't just a simple mashup—it's a nuanced system where fractals pinpoint critical levels with a sensitivity factor that's finely tuned to avoid common pitfalls in standard tools. The ATR multiplier and fuzz factor work together in a proprietary way to make the zones adaptive to volatility without overextending, and the state tracking (Untested to Broken) uses retroactive counting that's original to how I analyze price interactions. This isn't something you find in free alternatives; it's my personal take on market structure, and restricting access ensures it stays exclusive to those who value it through the BMAC membership. there's nothing closer to what I'm doing here, and that's why it's invite-only.
Disclaimer
This indicator assists in zone identification but does not guarantee success. Trading involves risk, and past performance is not indicative of future results. Always use proper risk management.
สคริปต์เฉพาะผู้ได้รับเชิญเท่านั้น
เฉพาะผู้ใช้ที่ได้รับการอนุมัติจากผู้เขียนเท่านั้นที่สามารถเข้าถึงสคริปต์นี้ได้ คุณจะต้องร้องขอและได้รับอนุญาตก่อนจึงจะสามารถใช้งานได้ โดยปกติจะได้รับอนุญาตหลังจากชำระเงินแล้ว สำหรับรายละเอียดเพิ่มเติม ทำตามคำแนะนำของผู้เขียนด้านล่างหรือติดต่อ RotemB โดยตรง
TradingView ไม่แนะนำให้ชำระเงินหรือใช้สคริปต์ เว้นแต่ว่าคุณจะเชื่อถือผู้เขียนสคริปต์และเข้าใจวิธีการทำงานของมัน คุณยังอาจพบทางเลือกของโอเพนซอร์ส แบบฟรีในสคริปต์ชุมชนของเรา
คำแนะนำของผู้เขียน
คำจำกัดสิทธิ์ความรับผิดชอบ
สคริปต์เฉพาะผู้ได้รับเชิญเท่านั้น
เฉพาะผู้ใช้ที่ได้รับการอนุมัติจากผู้เขียนเท่านั้นที่สามารถเข้าถึงสคริปต์นี้ได้ คุณจะต้องร้องขอและได้รับอนุญาตก่อนจึงจะสามารถใช้งานได้ โดยปกติจะได้รับอนุญาตหลังจากชำระเงินแล้ว สำหรับรายละเอียดเพิ่มเติม ทำตามคำแนะนำของผู้เขียนด้านล่างหรือติดต่อ RotemB โดยตรง
TradingView ไม่แนะนำให้ชำระเงินหรือใช้สคริปต์ เว้นแต่ว่าคุณจะเชื่อถือผู้เขียนสคริปต์และเข้าใจวิธีการทำงานของมัน คุณยังอาจพบทางเลือกของโอเพนซอร์ส แบบฟรีในสคริปต์ชุมชนของเรา