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.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.