OPEN-SOURCE SCRIPT
Updated

Psychological Round Levels by potuzhniy(UA)

318
XAUUSD 20.0
XAGUSD 1.0
EURUSD etc. 0.005
JPY 0.10
Crypto 1000
Release Notes
Changelog

Full English translation — title, all inputs, tooltips, and code comments are now in English.

Forex coverage (7 majors + 27 crosses) — one rule based on quote currency now covers every pair automatically: JPY-quoted pairs get a 0.50 step, all other pairs get 0.0050 (≈50-pip "big figure" grid either way). No need to list individual tickers.

Gold & Silver — Gold (XAU) defaults to a $10 step, Silver (XAG) to $0.50, detected via base currency or ticker name (XAU/GOLD/XAG/SILVER).

Indices, Crypto & everything else — step auto-scales to the instrument's price magnitude, e.g. BTC ≈1000, ETH ≈100, SPX ≈100, US30 ≈1000. Works for any symbol without a hardcoded list.

New "Auto step multiplier" — lets you scale the recommended auto step up or down (e.g. 0.5 = denser grid, 2 = sparser) without switching to fully manual mode.

"Show labels" now works — each line gets a price label formatted to the instrument's tick precision (was previously an unused input).

New line style option — Solid / Dashed / Dotted.

Dynamic recentering — levels now redraw whenever price crosses into a new grid step, keeping the visible levels centered on current price (previously drawn once and never updated).

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.