OPEN-SOURCE SCRIPT
SMA_20/50/100/200

SMA 20/50/100/200 is a simple overlay indicator that displays four commonly used simple moving averages on the main chart.
This setup helps traders monitor short-term and long-term trend conditions at the same time. The 20 and 50 SMAs are often used for near-term trend and momentum assessment, while the 100 and 200 SMAs provide a broader view of overall market direction and key dynamic support or resistance areas.
By observing price location relative to these moving averages, as well as the order and spacing between them, users can better understand trend strength, trend transitions, and possible pullback zones.
This indicator is intentionally kept simple and lightweight. It does not include alerts, strategy logic, or automatic trade signals. Its purpose is to provide a clear visual framework that can be combined with other analysis methods.
This setup helps traders monitor short-term and long-term trend conditions at the same time. The 20 and 50 SMAs are often used for near-term trend and momentum assessment, while the 100 and 200 SMAs provide a broader view of overall market direction and key dynamic support or resistance areas.
By observing price location relative to these moving averages, as well as the order and spacing between them, users can better understand trend strength, trend transitions, and possible pullback zones.
This indicator is intentionally kept simple and lightweight. It does not include alerts, strategy logic, or automatic trade signals. Its purpose is to provide a clear visual framework that can be combined with other analysis methods.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.