OPEN-SOURCE SCRIPT
Mis à jour

Round Number Scale

393
📌 A clean round-number scale that adapts to your chart, your zoom, and your market.

▌WHY IT'S USEFUL

Round numbers matter.

They often act as visual anchors for price reading, execution planning, reaction zones, and overall chart structure. But the native price scale does not always make these levels obvious enough, especially when you zoom in, zoom out, switch timeframes, or work on instruments with very different price behaviors.

This indicator builds a dedicated round-number scale directly on the chart and automatically adapts its density to the visible range, so the display stays readable instead of becoming overcrowded or too sparse.

It is designed to help you read price structure faster, keep important psychological levels visible, and maintain a cleaner visual framework across multiple chart conditions.

▌QUICK START

1. Add the indicator to your chart.
2. If the scale seems hidden, right-click the indicator name.
3. Go to Visual order → Bring to front.
4. Choose whether the scale is displayed on the left or right side.
5. Adjust the Size and Offset settings if you want a wider, tighter, or shifted display.
6. Optionally enable short numbers, labels, ruled lines, or a different visual theme.

▌MAIN SETTINGS

• Scale
Choose the side of the chart, the visual theme, the wall size, and the horizontal offset.

• Labels
Show or hide labels, increase or reduce their size, and switch to short number formatting such as 1K / 1M / 1B.

• Lines
Show or hide grid lines, adjust line thickness, and enable ruled lines for a lighter alternating visual structure.

• Themes
The indicator includes multiple visual styles and automatically adapts to the chart background for better contrast.

▌HOW IT WORKS

The script detects the currently visible chart window and computes an adaptive round-number grid based on the instrument, the timeframe, and the visible price range.

It then:
- builds a dedicated side scale,
- selects visible round-number levels,
- highlights the strongest levels,
- draws matching horizontal guide lines on the chart,
- and filters label density automatically to keep the display readable.

On lower timeframes, it can also display finer subdivisions of the round-number structure when relevant.

▌WARNINGS & LIMITS

If the scale is not visible, this is usually only a display-order issue:
Visual order → Bring to front.

The indicator automatically adjusts round-number density to the visible chart range, but no fully dynamic layout can be perfect in every possible situation.

In particular, adaptation may be less precise when combining:
- very high timeframes,
- very large historical ranges,
- strong volatility,
- or logarithmic scaling.

If needed, try one of the following:
- switch back to a linear scale,
- zoom slightly in or out,
- use a lower timeframe,
- adjust the Scale size parameter.

This indicator is mainly designed as a visual chart-reading tool. It does not generate trading signals or alerts by itself.
Notes de version
Refined the default visual presentation and updated the default display settings for a clearer and more consistent chart view. No functional changes.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.