OPEN-SOURCE SCRIPT
ICT Weekly Lines [OPEN/MID]

This indicator plots two core weekly reference levels:
- Weekly Open: the opening price of the current confirmed week (a common “weekly anchor”).
- Weekly Mid: the 50% level of the previous confirmed week’s range.
Why weekly levels matter
Weekly levels act like “macro structure” on lower timeframes. Even if you trade 1m–15m, price often reacts around weekly anchors because they’re widely watched and represent higher-timeframe positioning.
Practical use cases
1. Directional bias filter
- Above Weekly Open → bullish tilt / “premium” willingness.
- Below Weekly Open → bearish tilt / “discount” willingness.
2. Mean reversion vs continuation
- Weekly Mid often behaves like a “magnet” in balanced conditions.
- Strong trends can use it as a “pullback boundary” (hold mid → continuation, reclaim mid → reversal attempts).
3. Stop/target structure
- Weekly Open/Mid can act as logical target zones or invalidation lines because they’re higher-timeframe derived.
- Weekly Open: the opening price of the current confirmed week (a common “weekly anchor”).
- Weekly Mid: the 50% level of the previous confirmed week’s range.
Why weekly levels matter
Weekly levels act like “macro structure” on lower timeframes. Even if you trade 1m–15m, price often reacts around weekly anchors because they’re widely watched and represent higher-timeframe positioning.
Practical use cases
1. Directional bias filter
- Above Weekly Open → bullish tilt / “premium” willingness.
- Below Weekly Open → bearish tilt / “discount” willingness.
2. Mean reversion vs continuation
- Weekly Mid often behaves like a “magnet” in balanced conditions.
- Strong trends can use it as a “pullback boundary” (hold mid → continuation, reclaim mid → reversal attempts).
3. Stop/target structure
- Weekly Open/Mid can act as logical target zones or invalidation lines because they’re higher-timeframe derived.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.