OPEN-SOURCE SCRIPT
MAs trend

**MAs Trend**
MAs Trend is a clean visual trend indicator based on two moving averages: a fast MA and a slower MA. It is designed to help identify the current trend direction and highlight potential trend shifts.
The indicator colors the moving averages and the MA zone green during uptrends and red during downtrends. A gradient fill between the MAs makes the trend zone easier to read, while trend turn markers highlight possible shifts in direction.
**Main features**
* Fast and slow moving average trend structure
* EMA or SMA selection
* Optional smoothing for both moving averages
* Dynamic uptrend and downtrend colors
* Gradient fill between the moving averages
* Extra outer band around the slower MA
* Trend turn markers
* Optional session filter
* Alerts on trend turns
This indicator is intended as a visual trend filter and can be combined with price action, pullbacks, triggers, or other trading rules.
MAs Trend is a clean visual trend indicator based on two moving averages: a fast MA and a slower MA. It is designed to help identify the current trend direction and highlight potential trend shifts.
The indicator colors the moving averages and the MA zone green during uptrends and red during downtrends. A gradient fill between the MAs makes the trend zone easier to read, while trend turn markers highlight possible shifts in direction.
**Main features**
* Fast and slow moving average trend structure
* EMA or SMA selection
* Optional smoothing for both moving averages
* Dynamic uptrend and downtrend colors
* Gradient fill between the moving averages
* Extra outer band around the slower MA
* Trend turn markers
* Optional session filter
* Alerts on trend turns
This indicator is intended as a visual trend filter and can be combined with price action, pullbacks, triggers, or other trading rules.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.