OPEN-SOURCE SCRIPT
ATR %

ATR % — Price Scale Label
Displays the Average True Range (ATR) as a percentage of the current price, shown as a static label in the top-right corner of the chart — always visible regardless of scrolling.
Features:
ATR expressed as % of price (ATR / Close × 100) for easy comparison across different assets and timeframes
Fixed position on screen — not tied to price level
Customizable ATR period (default: 14)
Customizable text and background colors
How to use:
Higher % = higher volatility — useful for position sizing and stop placement
Compare ATR % across different assets to normalize volatility
Works on any asset and any timeframe
Settings (Inputs tab):
ATR Length — period for ATR calculation
Text Color — label text color
Background Color — label background color
Displays the Average True Range (ATR) as a percentage of the current price, shown as a static label in the top-right corner of the chart — always visible regardless of scrolling.
Features:
ATR expressed as % of price (ATR / Close × 100) for easy comparison across different assets and timeframes
Fixed position on screen — not tied to price level
Customizable ATR period (default: 14)
Customizable text and background colors
How to use:
Higher % = higher volatility — useful for position sizing and stop placement
Compare ATR % across different assets to normalize volatility
Works on any asset and any timeframe
Settings (Inputs tab):
ATR Length — period for ATR calculation
Text Color — label text color
Background Color — label background color
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.
Market analyst | Trader | Investor | C-137 |
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.
Market analyst | Trader | Investor | C-137 |
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.