OPEN-SOURCE SCRIPT
12 Weeks View [by Roman]

A clean market structure indicator designed for traders who focus on liquidity, key levels, and higher-timeframe context.
Features
Why Use It?
The highest and lowest points of the last 12 weeks often act as significant liquidity pools and major support/resistance levels. These areas are frequently referenced by:
The weekly separators provide clear temporal context, helping traders identify:
Controls the color of the weekly separator lines.
Best Used For
This indicator is intentionally minimalistic, providing only the most relevant weekly structure information without cluttering the chart.
Features
- Weekly Start Markers
- Draws vertical lines at the beginning of each week.
- Displays only the most recent 12 weeks to keep the chart clean.
- Weekly line color is fully customizable.
- 12-Week Extreme Levels
- Calculates the highest high from the previous 12 completed weeks.
- Calculates the lowest low from the previous 12 completed weeks.
- Displays a single horizontal level for each extreme.
- High and Low line colors can be customized independently.
Why Use It?
The highest and lowest points of the last 12 weeks often act as significant liquidity pools and major support/resistance levels. These areas are frequently referenced by:
- Smart Money Concept (SMC) traders
- ICT traders
- Swing traders
- Position traders
- Market structure analysts
The weekly separators provide clear temporal context, helping traders identify:
- Weekly range development
- Liquidity sweeps
- Breakouts from multi-week consolidation
- Reactions at major higher-timeframe levels
- Settings
- Weekly Start Line Color
Controls the color of the weekly separator lines.
Best Used For
- Cryptocurrency markets
- Forex markets
- Indices
- Stocks
- Multi-timeframe analysis
This indicator is intentionally minimalistic, providing only the most relevant weekly structure information without cluttering the chart.
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.