OPEN-SOURCE SCRIPT
Aggiornato

2ATR / Current Price %

21
### **Real-Time 2ATR Volatility Ratio Indicator**

---

### **Overview**

This indicator provides a quick and visual way to understand market volatility by calculating the ratio between the **2ATR (Average True Range)** and the **current price**.

* **ATR (Average True Range)** is a widely-used measure of market volatility, showing the average price movement over a specific period.
* **2ATR** represents a price move that is twice the average volatility. Traders often use this value as a benchmark for potential support/resistance levels or for setting a dynamic stop-loss.

### **Key Features**

* **Real-Time Calculation**: Unlike many indicators that rely on the previous candle's close, this script calculates the 2ATR ratio using the **real-time current price**, providing you with up-to-the-second data.
* **Intuitive Display**: The final percentage value is shown in a clear **yellow label** at the **bottom-right** of your chart, making it easy to monitor without cluttering your view.
* **Customizable Input**: You can adjust the `ATR Period` setting to change the sensitivity of the volatility calculation, allowing you to adapt the indicator to different trading styles and timeframes.

### **How to Use It**

This tool is especially useful for **risk management and setting stop-loss orders**. The percentage displayed on the label tells you how much the price would need to move from its current level to equal a 2ATR change.

**Example**: If the indicator shows **3.5%**, it means a price drop of 3.5% from the current level would be equal to a 2ATR move. This gives you a clear and quantifiable number to help you set a **logical stop-loss** or to quickly assess the potential downside risk before entering a trade.
Note di rilascio
Update : Can change colors

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.