OPEN-SOURCE SCRIPT
ATR %

Overview
Shows the Average True Range (ATR) as a percentage of a chosen price basis. Useful for a quick, apples-to-apples view of current volatility across symbols and timeframes. The value is displayed in a clean table at the bottom-right of the chart.
What it shows
Inputs
Notes
Use cases
Disclaimer
For educational purposes only. Not financial advice. Trading involves risk.
Shows the Average True Range (ATR) as a percentage of a chosen price basis. Useful for a quick, apples-to-apples view of current volatility across symbols and timeframes. The value is displayed in a clean table at the bottom-right of the chart.
What it shows
- Basis can be: Close, EMA(len), SMA(len), or VWAP.
- Data timeframe can be the Chart timeframe or a Daily aggregation.
Inputs
- ATR length (len) – ATR lookback.
- Percent basis – Close / EMA / SMA / VWAP.
- Data timeframe – Chart (uses the current chart TF) or Daily (computes ATR and basis from daily data).
- Decimals – number of decimal places to display.
- Text / Background / Frame colors – customize the table appearance.
Notes
- In Daily mode, ATR and basis are taken from daily data and update on daily close.
- VWAP is available only in Chart mode (Daily + VWAP will show n/a by design).
- The script overlays the chart but does not plot lines—only a compact info box.
Use cases
- Compare volatility across coins/stocks quickly using ATR% instead of raw ATR.
- Switch basis to match your style (e.g., EMA for trend-aware scaling, VWAP for intraday context).
- Set Daily to track higher-timeframe volatility while trading lower TFs.
Disclaimer
For educational purposes only. Not financial advice. Trading involves risk.
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
✅My Telegram
t.me/trading_mura
t.me/trading_mura
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
✅My Telegram
t.me/trading_mura
t.me/trading_mura
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。