OPEN-SOURCE SCRIPT
Daily & Weekly Highs/Lows

**Daily & Weekly Highs/Lows — Liquidity Levels**
This indicator automatically displays the highs and lows of Daily and Weekly candles as horizontal dotted lines directly on your chart.
**Key features:**
- Plots liquidity levels (highs/lows) of the last N Daily and Weekly candles, configurable in the settings
- Levels **automatically disappear** once swept by price — only intact levels remain visible
- **Green** for highs, **red** for lows, consistent across Daily and Weekly for a clean chart
- When a Daily and Weekly level coincide, the label displays **"W D"** to highlight the confluence — a stronger liquidity signal
**Settings:**
- Number of Daily levels to display (1 to 10)
- Number of Weekly levels to display (1 to 8)
- High and low colors
- Line width for Daily and Weekly
- Label text color (black or white depending on your theme)
- Proximity tolerance for D/W confluence detection
**Recommended use:**
Perfect for traders using an SMC/ICT approach or simply looking to track key liquidity levels on higher timeframes. Works on all instruments and all chart timeframes.
---
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.