OPEN-SOURCE SCRIPT
Trading ATR Framework

**Trading ATR Framework** is a clean, rule-based volatility tool designed for futures traders.
The indicator automatically calculates the previous daily close and the completed Daily ATR(14), then projects the key volatility levels at ±25%, ±50%, ±75%, and ±100% ATR.
It includes:
* Automatic daily ATR levels
* Previous daily close as the basis price
* Tick-size rounding
* Current ATR position and directional bias
* Optional manual settlement and ATR inputs
* Built-in 2.5R risk-to-reward calculator
* Alerts for important ATR level crossings
* Premium black-and-gold visual design
The framework is designed for NQ/MNQ, GC/MGC, and CL/MCL, but can also be used on other markets and timeframes.
ATR levels are context and decision zones, not standalone trade signals. Always combine them with market structure, volume, order flow, and proper risk management.
The indicator automatically calculates the previous daily close and the completed Daily ATR(14), then projects the key volatility levels at ±25%, ±50%, ±75%, and ±100% ATR.
It includes:
* Automatic daily ATR levels
* Previous daily close as the basis price
* Tick-size rounding
* Current ATR position and directional bias
* Optional manual settlement and ATR inputs
* Built-in 2.5R risk-to-reward calculator
* Alerts for important ATR level crossings
* Premium black-and-gold visual design
The framework is designed for NQ/MNQ, GC/MGC, and CL/MCL, but can also be used on other markets and timeframes.
ATR levels are context and decision zones, not standalone trade signals. Always combine them with market structure, volume, order flow, and proper risk management.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.