OPEN-SOURCE SCRIPT
MA150 Respect Ratio (ATR-adjusted)

This indicator measures how reliably price respects the 150-day moving average as support.
It computes an empirical probability (Respect Ratio) based on historical interactions with MA150:
– Dynamic touch tolerance based on ATR
– Optional shallow breaks allowed (user-defined)
– Trend filter (MA150 rising + price above)
– Minimum event count for statistical reliability
The output is a probability score (0–1) indicating how often MA150 held as support when tested.
This tool is intended for research and decision support, not as a standalone trading signal.
It computes an empirical probability (Respect Ratio) based on historical interactions with MA150:
– Dynamic touch tolerance based on ATR
– Optional shallow breaks allowed (user-defined)
– Trend filter (MA150 rising + price above)
– Minimum event count for statistical reliability
The output is a probability score (0–1) indicating how often MA150 held as support when tested.
This tool is intended for research and decision support, not as a standalone trading signal.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.