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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.