OPEN-SOURCE SCRIPT
Round Number Nearest Level

Round Number Nearest Level is a simple visual reminder of the round-number price level nearest to the current market price.
During fast-moving trading sessions, it is easy to focus on entries, exits, volume, and momentum while overlooking an approaching round number. This can be especially challenging for newer traders. Round-number prices often attract attention and may act as potential support, resistance, targets, or areas of increased activity.
The indicator keeps the chart uncluttered by displaying only the nearest level. As the price moves, the plotted line automatically steps to the next closest round number.
HOW IT WORKS
Automatic mode selects the interval based on the current price:
• Below $5: nearest $0.50 level
• $5 and above: nearest $1.00 level
Custom mode allows you to define your own multiplier. For example, a multiplier of 5 plots the nearest $5 level, while a multiplier of 0.25 plots the nearest quarter-dollar level.
The level is displayed as an orange stepped line directly on the price chart.
This indicator is intended as a situational-awareness aid. Round-number levels are reference points, not guaranteed support or resistance, and should be considered alongside price action, volume, risk management, and your broader trading plan.
During fast-moving trading sessions, it is easy to focus on entries, exits, volume, and momentum while overlooking an approaching round number. This can be especially challenging for newer traders. Round-number prices often attract attention and may act as potential support, resistance, targets, or areas of increased activity.
The indicator keeps the chart uncluttered by displaying only the nearest level. As the price moves, the plotted line automatically steps to the next closest round number.
HOW IT WORKS
Automatic mode selects the interval based on the current price:
• Below $5: nearest $0.50 level
• $5 and above: nearest $1.00 level
Custom mode allows you to define your own multiplier. For example, a multiplier of 5 plots the nearest $5 level, while a multiplier of 0.25 plots the nearest quarter-dollar level.
The level is displayed as an orange stepped line directly on the price chart.
This indicator is intended as a situational-awareness aid. Round-number levels are reference points, not guaranteed support or resistance, and should be considered alongside price action, volume, risk management, and your broader trading plan.
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.