OPEN-SOURCE SCRIPT
Cập nhật CUSTOM PRO RANGE V2.0 with Alerts

Core Functions
Tracks High/Low Ranges
Daily (DR) or Initial (IDR) ranges within custom time windows (e.g., 9:30 AM–4:00 PM).
Optional extended hours (e.g., overnight).
Visual Tools
Draws boxes/lines for range boundaries, midpoints, and opening prices.
Custom colors/styles for clarity.
Smart Alerts
Notifies when price breaks high/low/mid of the range.
Avoids spam with once-per-bar alerts.
Flexible Timeframes
Works for intraday, daily, or even quarterly ranges with minor tweaks.
🎯 Who It Helps
Day Traders: Spot breakouts/reversals.
Swing Traders: Identify key support/resistance.
Analysts: Study price behavior in specific sessions.
Tracks High/Low Ranges
Daily (DR) or Initial (IDR) ranges within custom time windows (e.g., 9:30 AM–4:00 PM).
Optional extended hours (e.g., overnight).
Visual Tools
Draws boxes/lines for range boundaries, midpoints, and opening prices.
Custom colors/styles for clarity.
Smart Alerts
Notifies when price breaks high/low/mid of the range.
Avoids spam with once-per-bar alerts.
Flexible Timeframes
Works for intraday, daily, or even quarterly ranges with minor tweaks.
🎯 Who It Helps
Day Traders: Spot breakouts/reversals.
Swing Traders: Identify key support/resistance.
Analysts: Study price behavior in specific sessions.
Phát hành các Ghi chú
CUSTOM PRO RANGE V2.0 – Precision Range Tracking for Professional TradersA highly configurable range indicator designed for traders who hunt key levels with surgical precision.
Key Features:
✔ Dynamic Range Detection – Tracks DR & IDR levels in real-time
✔ Multi-Session Flexibility – Isolate and analyze any market phase
✔ Clean, Customizable Display – Adjust line styles, colors, and transparency for optimal clarity
✔ Institutional-Grade Reference Points – Opening price, mid-range, and extremes for order flow alignment
Why Pros Use It:
Pinpoint high-probability reversals & breakouts using objectively defined ranges
Eliminate guesswork with automatically updating key levels
Custom-tailored visuals to match your trading style without chart clutter
Trade with precision. Trade like a professional.
Phát hành các Ghi chú
CUSTOM PRO LEVEL RANGE — Previous Week (Mon 00:00 → Fri 23:00)”What it tracks
It takes the entire previous week’s range (from Monday 00:00 → Friday 23:00, New York time).
It records:
DR (Daily Range) → High & Low of the week.
IDR (Body Range) → extremes of candle bodies (open/close) of the week.
The opening price of Monday 00:00.
What it draws
A box showing either the DR or IDR range (your choice).
Horizontal lines for:
DR High & Low.
IDR High & Low.
IDR Midpoint.
Opening price.
Quartiles (from DR extremes): 25%, 50% (mid), and 75% levels.
Labels with the exact price at the right edge (toggleable).
How it extends
When a new week starts, the previous week’s levels extend into the current week (bar by bar, following price action).
At the end of the current week (Friday 23:00), that week becomes the new “previous week,” and its box/lines extend into the next week, and so on.
Customization
Toggle on/off: DR, IDR, IDR mid, open line, quartiles, box, labels.
Independent colors, widths, and line styles (solid/dashed/dotted) for each type of line.
Background shading for the box.
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.