OPEN-SOURCE SCRIPT
מעודכן 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.
הערות שחרור
Update for Weekly and Monthly timeframesסקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.