OPEN-SOURCE SCRIPT
Visual Trading Zones

Visual Trading Zones is a chart-based indicator designed to display clear and structured price zones using evenly spaced levels.
The indicator automatically builds horizontal zones across the visible price range and helps traders visually identify potential areas of interest such as support, resistance, and reaction zones.
Key Features
Displays horizontal price zones with a fixed step
Optional main levels and sub-levels inside each zone
Clean and minimal visual presentation
Works on any market and timeframe
Fully customizable colors, line styles, and zone transparency
No signals, no alerts — purely visual analysis tool
How It Works
Price zones are constructed using a user-defined step size.
Each zone is visually highlighted, allowing traders to quickly see how price interacts with these areas over time.
The indicator does not repaint and does not generate trading signals.
It is intended to be used as a visual framework alongside any trading strategy.
Recommended Use
Identifying potential support and resistance zones
Market structure and range analysis
Confluence with price action, indicators, or volume tools
⚙️ Settings Overview
Step — distance between price zones
Step Unit — ticks or pips (for FX instruments)
SubLevels — number of internal levels within each zone
Show Zones / Lines / Prices — visual display options
Range Bars — number of bars used to build zones
Style Settings — colors, line styles, transparency
The indicator automatically builds horizontal zones across the visible price range and helps traders visually identify potential areas of interest such as support, resistance, and reaction zones.
Key Features
Displays horizontal price zones with a fixed step
Optional main levels and sub-levels inside each zone
Clean and minimal visual presentation
Works on any market and timeframe
Fully customizable colors, line styles, and zone transparency
No signals, no alerts — purely visual analysis tool
How It Works
Price zones are constructed using a user-defined step size.
Each zone is visually highlighted, allowing traders to quickly see how price interacts with these areas over time.
The indicator does not repaint and does not generate trading signals.
It is intended to be used as a visual framework alongside any trading strategy.
Recommended Use
Identifying potential support and resistance zones
Market structure and range analysis
Confluence with price action, indicators, or volume tools
⚙️ Settings Overview
Step — distance between price zones
Step Unit — ticks or pips (for FX instruments)
SubLevels — number of internal levels within each zone
Show Zones / Lines / Prices — visual display options
Range Bars — number of bars used to build zones
Style Settings — colors, line styles, transparency
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.