OPEN-SOURCE SCRIPT
EMA 3 vs EMA 21 % Difference Adjustable

Title: EMA 3 vs EMA 21 % Difference with Adjustable Labels
Description:
This script calculates the percentage difference between EMA 3 and EMA 21 and displays it directly on the chart as a label. Labels are shown only when the difference exceeds a user-defined threshold, helping traders easily spot significant deviations.
Features:
Calculates EMA 3 and EMA 21.
Displays percentage difference as labels above or below candles.
Adjustable label style and size.
User-defined percentage threshold for label visibility.
Plots EMA lines for visual reference.
Ideal for traders who want to monitor short-term EMA divergence relative to a longer-term trend in a clean and customizable way.
Description:
This script calculates the percentage difference between EMA 3 and EMA 21 and displays it directly on the chart as a label. Labels are shown only when the difference exceeds a user-defined threshold, helping traders easily spot significant deviations.
Features:
Calculates EMA 3 and EMA 21.
Displays percentage difference as labels above or below candles.
Adjustable label style and size.
User-defined percentage threshold for label visibility.
Plots EMA lines for visual reference.
Ideal for traders who want to monitor short-term EMA divergence relative to a longer-term trend in a clean and customizable way.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.