OPEN-SOURCE SCRIPT
Round Numbers

Round Numbers
This indicator is a high-precision tool designed to automatically visualize psychological price marks and "round numbers" on your chart. It helps traders identify key areas where institutional orders and market sentiment often cluster, providing a clear map of potential support and resistance zones based on mathematical multiples.
Key Features:
11 Fully Configurable Level Groups: The indicator provides 11 independent level groups, pre-set to psychologically significant intervals (10, 50, 100, 500, 1,000, 5,000, 10,000, 50,000, 100,000, 500,000, and 1,000,000).
Complete Customization: Every level can be individually toggled. Users can define the specific multiple, line color, thickness, and line style (Solid, Dashed, or Dotted) to distinguish between major and minor levels.
Dynamic Range Adaptation: The script calculates and draws lines based on the recent price action, ensuring the chart remains relevant to the current trading range without manual adjustment.
Performance Optimized: Utilizing an efficient line-pooling system, the indicator maintains high performance and ensures smooth chart scrolling while staying within platform drawing limits.
Use Cases:
Psychological Levels: Quickly identify major price magnets (e.g., Gold at $2500, $2600).
Grid Trading & Visualization: Create a clean visual grid for systematic entry and exit strategies.
Market Structure Analysis: Assist in recognizing "Big Round Numbers" where liquidity usually resides and where reversals are more likely to occur.
Settings:
For each of the 11 levels, you can configure:
Show Level: Enable or disable the specific group.
Multiple Value: The price interval for the lines (e.g., "100" creates a line every 100 points).
Color: Choose any color and transparency for the lines.
Width: Set the line thickness from 1 to 5.
Line Style: Select between Solid, Dashed, or Dotted appearances.
This indicator is a high-precision tool designed to automatically visualize psychological price marks and "round numbers" on your chart. It helps traders identify key areas where institutional orders and market sentiment often cluster, providing a clear map of potential support and resistance zones based on mathematical multiples.
Key Features:
11 Fully Configurable Level Groups: The indicator provides 11 independent level groups, pre-set to psychologically significant intervals (10, 50, 100, 500, 1,000, 5,000, 10,000, 50,000, 100,000, 500,000, and 1,000,000).
Complete Customization: Every level can be individually toggled. Users can define the specific multiple, line color, thickness, and line style (Solid, Dashed, or Dotted) to distinguish between major and minor levels.
Dynamic Range Adaptation: The script calculates and draws lines based on the recent price action, ensuring the chart remains relevant to the current trading range without manual adjustment.
Performance Optimized: Utilizing an efficient line-pooling system, the indicator maintains high performance and ensures smooth chart scrolling while staying within platform drawing limits.
Use Cases:
Psychological Levels: Quickly identify major price magnets (e.g., Gold at $2500, $2600).
Grid Trading & Visualization: Create a clean visual grid for systematic entry and exit strategies.
Market Structure Analysis: Assist in recognizing "Big Round Numbers" where liquidity usually resides and where reversals are more likely to occur.
Settings:
For each of the 11 levels, you can configure:
Show Level: Enable or disable the specific group.
Multiple Value: The price interval for the lines (e.g., "100" creates a line every 100 points).
Color: Choose any color and transparency for the lines.
Width: Set the line thickness from 1 to 5.
Line Style: Select between Solid, Dashed, or Dotted appearances.
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.