OPEN-SOURCE SCRIPT
Mis à jour

ATR %

251
ATR % Oscillator

A simple and effective Average True Range (ATR) indicator displayed as a percentage of the current price in a separate panel.

FEATURES:
• ATR displayed as percentage of current price for easy cross-asset comparison
• EMA smoothing line using the same period as ATR
• Configurable ATR period (default: 20)
• Clean visualization with zero reference line

HOW IT WORKS:
The indicator calculates ATR and converts it to a percentage: (ATR / Close) × 100

This normalization allows you to:
- Compare volatility across different instruments regardless of price
- Identify high and low volatility periods
- Use the EMA line to spot volatility trends

PARAMETERS:
ATR Period - The lookback period for ATR calculation (default: 20)
Timeframe - Choose any timeframe for ATR calculation independently from the chart timeframe (default: chart timeframe)

Notes de version
Precision bug fixed.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.