OPEN-SOURCE SCRIPT
已更新 Psychological Round Levels by potuzhniy(UA)

XAUUSD 20.0
XAGUSD 1.0
EURUSD etc. 0.005
JPY 0.10
Crypto 1000
XAGUSD 1.0
EURUSD etc. 0.005
JPY 0.10
Crypto 1000
版本注释
ChangelogFull 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).
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。