OPEN-SOURCE SCRIPT
Cập nhật Levels

Overview
HL Marking Pro is a clean, multi-timeframe level marker designed for traders who prioritize a clutter-free workspace. Unlike standard indicators that crowd the chart area with text labels, this script utilizes native Price Scale Tags to display key historical and intraday levels directly on the Y-axis.
Key Features
Axis-Integrated Labels: Key levels are displayed as colored tags on the right-hand price scale, keeping the candle area clear for price action analysis.
Dynamic Session Tracking: Includes real-time tracking for the current Session High (SH) and Session Low (SL).
Multi-Timeframe Logic: Automatically tracks Previous Daily (PDH/L), Weekly (PWH/L), Monthly (PMH/L), Quarterly (PQH/L), and Yearly (PYH/L) levels.
Smart Visibility: To prevent "color waterfalls" on the axis, lower-tier levels (Daily/Session) are automatically hidden on higher timeframe charts (Weekly/Monthly).
Reliable ATH: The All-Time High (ATH) is calculated via security calls to ensure it remains visible and accurate even on high-timeframe charts where bar history might be limited.
No Repainting: All historical levels reference completed candles [1] to ensure levels stay fixed and reliable throughout the trading session.
How to Use
Add the script to your chart.
To get the cleanest look (matching the screenshots), Right-click the Price Scale -> Labels -> and select "Value Only". This removes the indicator name and the colon (:) prefix.
The script will automatically adjust which levels are shown based on the timeframe you are currently viewing.


HL Marking Pro is a clean, multi-timeframe level marker designed for traders who prioritize a clutter-free workspace. Unlike standard indicators that crowd the chart area with text labels, this script utilizes native Price Scale Tags to display key historical and intraday levels directly on the Y-axis.
Key Features
Axis-Integrated Labels: Key levels are displayed as colored tags on the right-hand price scale, keeping the candle area clear for price action analysis.
Dynamic Session Tracking: Includes real-time tracking for the current Session High (SH) and Session Low (SL).
Multi-Timeframe Logic: Automatically tracks Previous Daily (PDH/L), Weekly (PWH/L), Monthly (PMH/L), Quarterly (PQH/L), and Yearly (PYH/L) levels.
Smart Visibility: To prevent "color waterfalls" on the axis, lower-tier levels (Daily/Session) are automatically hidden on higher timeframe charts (Weekly/Monthly).
Reliable ATH: The All-Time High (ATH) is calculated via security calls to ensure it remains visible and accurate even on high-timeframe charts where bar history might be limited.
No Repainting: All historical levels reference completed candles [1] to ensure levels stay fixed and reliable throughout the trading session.
How to Use
Add the script to your chart.
To get the cleanest look (matching the screenshots), Right-click the Price Scale -> Labels -> and select "Value Only". This removes the indicator name and the colon (:) prefix.
The script will automatically adjust which levels are shown based on the timeframe you are currently viewing.
Phát hành các Ghi chú
Update for Weekly and Monthly timeframesMã 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.