OPEN-SOURCE SCRIPT
GC 08-02 Zones

GC 08-02 Zones — Gold Futures Round-Level Map
This indicator automatically maps out horizontal reaction zones around gold's round-number price levels — the "xx8 to xx2" bands that often act as short-term support/resistance on GC and MGC futures.
How it works
The script rounds the current price to the nearest $10 level and plots a series of shaded zones above and below it, each spanning from the round number +2 to −2 (e.g. a zone around $3350 would run from 3352 down to 3348). These bands are drawn symmetrically around price and automatically re-center as price moves, so you always have a consistent map of nearby round-number levels without manually drawing lines.
Features
Why round numbers matter
Round price levels tend to attract order flow — stops, limit orders, and psychological decision points cluster around them. Having these zones pre-mapped can help with spotting potential reaction areas, planning entries/exits, or simply keeping round-number context visible without cluttering the chart with manual drawings.
Usage notes
This tool is designed specifically for gold futures (GC/MGC) given their $10 round-level structure. It is a visual reference only and does not generate buy/sell signals — always combine with your own strategy, market structure analysis, and risk management.
This indicator automatically maps out horizontal reaction zones around gold's round-number price levels — the "xx8 to xx2" bands that often act as short-term support/resistance on GC and MGC futures.
How it works
The script rounds the current price to the nearest $10 level and plots a series of shaded zones above and below it, each spanning from the round number +2 to −2 (e.g. a zone around $3350 would run from 3352 down to 3348). These bands are drawn symmetrically around price and automatically re-center as price moves, so you always have a consistent map of nearby round-number levels without manually drawing lines.
Features
- Adjustable number of zones displayed above/below price (1–50)
- Customizable zone fill color, border line color, style (solid/dashed/dotted), and width
- Optional price labels on each zone boundary
- Adjustable right-side offset and left-extension of lines
- Built-in warning label if applied to a symbol other than GC/MGC
Why round numbers matter
Round price levels tend to attract order flow — stops, limit orders, and psychological decision points cluster around them. Having these zones pre-mapped can help with spotting potential reaction areas, planning entries/exits, or simply keeping round-number context visible without cluttering the chart with manual drawings.
Usage notes
This tool is designed specifically for gold futures (GC/MGC) given their $10 round-level structure. It is a visual reference only and does not generate buy/sell signals — always combine with your own strategy, market structure analysis, and risk management.
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.