OPEN-SOURCE SCRIPT
MA + ATR

Here’s a clean, professional **TradingView description** you can use when publishing your script:
---
## 📊 Multi MA + ATR Extension Dashboard
This indicator combines key moving averages with volatility analysis to provide a clear, real-time view of trend structure, extension, and momentum.
---
### 🔧 Features
**Moving Averages**
* Plots **5, 21, 50, and 200 MA**
* Supports **SMA or EMA selection per MA**
* Clean color scheme for quick visual recognition
**ATR-Based Extension**
* Measures how far price is from each MA in **ATR units**
* Helps identify:
* Overextended moves
* Mean reversion zones
* Healthy vs stretched trends
**Trend Curl (Angle)**
* Displays **angle of curl (slope)** for 21, 50, and 200 MA
* Quickly shows:
* Trend acceleration
* Flattening structure
* Early reversal signals
**Smart Table Dashboard**
* Compact table showing:
* MA type + direction (arrow)
* Distance from MA (in ATR)
* Price position (above/below)
* Curl (angle) of key MAs
* Customizable position and size
**ATR Volatility Context**
* Shows ATR % (volatility relative to price)
* Helps compare volatility across instruments
---
### 🧠 How to Use
* **Trend Identification**
* Look for alignment (21 > 50 > 200 = bullish)
* Use curl to confirm strengthening or weakening trends
* **Extension Analysis**
* 1 ATR = normal move
* 2 ATR = extended
* 3 ATR = potential exhaustion
* **Mean Reversion**
* High ATR extension + flattening curl = pullback probability
* **Momentum Insight**
* Rising curl = strengthening trend
* Falling curl = weakening trend
---
### ⚙️ Best Use Cases
* Intraday trend trading
* Swing trading pullbacks
* Identifying exhaustion moves
* Volatility-aware risk management
---
### 💡 Notes
* ATR measures **volatility, not direction**
* Works best when combined with price structure and volume
---
## 📊 Multi MA + ATR Extension Dashboard
This indicator combines key moving averages with volatility analysis to provide a clear, real-time view of trend structure, extension, and momentum.
---
### 🔧 Features
**Moving Averages**
* Plots **5, 21, 50, and 200 MA**
* Supports **SMA or EMA selection per MA**
* Clean color scheme for quick visual recognition
**ATR-Based Extension**
* Measures how far price is from each MA in **ATR units**
* Helps identify:
* Overextended moves
* Mean reversion zones
* Healthy vs stretched trends
**Trend Curl (Angle)**
* Displays **angle of curl (slope)** for 21, 50, and 200 MA
* Quickly shows:
* Trend acceleration
* Flattening structure
* Early reversal signals
**Smart Table Dashboard**
* Compact table showing:
* MA type + direction (arrow)
* Distance from MA (in ATR)
* Price position (above/below)
* Curl (angle) of key MAs
* Customizable position and size
**ATR Volatility Context**
* Shows ATR % (volatility relative to price)
* Helps compare volatility across instruments
---
### 🧠 How to Use
* **Trend Identification**
* Look for alignment (21 > 50 > 200 = bullish)
* Use curl to confirm strengthening or weakening trends
* **Extension Analysis**
* 1 ATR = normal move
* 2 ATR = extended
* 3 ATR = potential exhaustion
* **Mean Reversion**
* High ATR extension + flattening curl = pullback probability
* **Momentum Insight**
* Rising curl = strengthening trend
* Falling curl = weakening trend
---
### ⚙️ Best Use Cases
* Intraday trend trading
* Swing trading pullbacks
* Identifying exhaustion moves
* Volatility-aware risk management
---
### 💡 Notes
* ATR measures **volatility, not direction**
* Works best when combined with price structure and volume
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.