OPEN-SOURCE SCRIPT
已更新 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.
發行說明
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.
發行說明
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.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。