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提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。