OPEN-SOURCE SCRIPT

ATRP & Volatility Table - AIMAN93

86
The ATRP & Volatility Table is a simple yet powerful tool designed to quantify market volatility and help traders adapt their position sizing accordingly.

It calculates the Average True Range Percentage (ATRP) — the ATR value relative to current price — and classifies market conditions into three volatility levels: LOW, MEDIUM, or HIGH. Based on the volatility level, it suggests an indicative risk percentage to guide your trade management.

This visual tool displays real-time ATRP, volatility classification, and corresponding risk percentage in a compact on-chart table. Ideal for systematic traders who rely on volatility-based decision-making, position sizing, or risk management models.

Features:
- Dynamic ATRP calculation for any symbol or timeframe
- Customizable colors for text and background
- Automatic volatility classification (low / medium / high)
- Suggested risk percentage for each volatility level

Aviso legal

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.