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が提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。