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.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.