OPEN-SOURCE SCRIPT
تم تحديثه Triple EMA/SMA + crossover

A powerful 3-in-1 Moving Average system — clean, customizable, and built for real-time clarity.
This indicator combines three fully customizable moving averages into a single tool, giving you a complete view of trend behavior, momentum strength, and market structure — all in one compact and intuitive display.
Whether you prefer EMA or SMA, this script lets you switch seamlessly and adapt instantly to any trading style.
⸻
✅ Key Features
🔹 Three Moving Averages, One Indicator
Instead of cluttering your chart with multiple separate MAs, this script intelligently groups:
• MA1
• MA2
• MA3
…into a single, elegant indicator with unified settings and consistent visuals.
Each MA has its own:
• Length
• Rising/Falling/Flat dynamic color system
• Customizable colors
• Trend-based logic
This makes your chart cleaner, faster to read, and much more powerful.
⸻
🔹 Select Your MA Type
Switch all three MAs at once:
• EMA
• SMA
Perfect for testing different interpretations of trend behavior.
⸻
🔹 Advanced Trend Coloring
Each MA automatically adapts its color based on whether it is:
• Rising (uptrend)
• Falling (downtrend)
• Flat (consolidation / low momentum)
You decide the colors for each state — and for each MA individually.
⸻
🔹 MA Crossover Bar Highlights
When MA1 crosses MA2, the script highlights the exact bar with:
• White for bullish crossovers
• Purple for bearish crossovers
This makes trend shifts and potential reversals instantly visible, directly on price bars.
⸻
🔹 Source Flexibility
All three MAs can use any source series:
• Close, Open, HL2, HLC3, OHLC4, etc.
• Or any other series available on your chart
This gives you much more flexibility than standard MA indicators.
⸻
🔹 Beautiful, Clean & Fully Customizable
Every color — rising, falling, flat, crossover — can be changed.
All plots are clearly named (MA1, MA2, MA3) for easier control in the Style panel.
This script brings together:
• clarity
• flexibility
• and clean design
…into a compact, professional-grade indicator.
⸻
🎯 Why this Indicator Helps
You get the full power of three trend tools at once — but without the chart clutter.
Use it to:
• Spot early trend reversals
• Track short/mid/long-term structure simultaneously
• Identify momentum shifts in real time
• Visualize crossovers instantly
• Keep your chart clean and readable
It’s ideal for scalpers, day traders, swing traders, and anyone who wants a powerful yet simple way to read market conditions.
⸻
⚠️ Disclaimer
This script is for educational purposes only and does not constitute financial advice. Always do your own research before trading.
⸻
This indicator combines three fully customizable moving averages into a single tool, giving you a complete view of trend behavior, momentum strength, and market structure — all in one compact and intuitive display.
Whether you prefer EMA or SMA, this script lets you switch seamlessly and adapt instantly to any trading style.
⸻
✅ Key Features
🔹 Three Moving Averages, One Indicator
Instead of cluttering your chart with multiple separate MAs, this script intelligently groups:
• MA1
• MA2
• MA3
…into a single, elegant indicator with unified settings and consistent visuals.
Each MA has its own:
• Length
• Rising/Falling/Flat dynamic color system
• Customizable colors
• Trend-based logic
This makes your chart cleaner, faster to read, and much more powerful.
⸻
🔹 Select Your MA Type
Switch all three MAs at once:
• EMA
• SMA
Perfect for testing different interpretations of trend behavior.
⸻
🔹 Advanced Trend Coloring
Each MA automatically adapts its color based on whether it is:
• Rising (uptrend)
• Falling (downtrend)
• Flat (consolidation / low momentum)
You decide the colors for each state — and for each MA individually.
⸻
🔹 MA Crossover Bar Highlights
When MA1 crosses MA2, the script highlights the exact bar with:
• White for bullish crossovers
• Purple for bearish crossovers
This makes trend shifts and potential reversals instantly visible, directly on price bars.
⸻
🔹 Source Flexibility
All three MAs can use any source series:
• Close, Open, HL2, HLC3, OHLC4, etc.
• Or any other series available on your chart
This gives you much more flexibility than standard MA indicators.
⸻
🔹 Beautiful, Clean & Fully Customizable
Every color — rising, falling, flat, crossover — can be changed.
All plots are clearly named (MA1, MA2, MA3) for easier control in the Style panel.
This script brings together:
• clarity
• flexibility
• and clean design
…into a compact, professional-grade indicator.
⸻
🎯 Why this Indicator Helps
You get the full power of three trend tools at once — but without the chart clutter.
Use it to:
• Spot early trend reversals
• Track short/mid/long-term structure simultaneously
• Identify momentum shifts in real time
• Visualize crossovers instantly
• Keep your chart clean and readable
It’s ideal for scalpers, day traders, swing traders, and anyone who wants a powerful yet simple way to read market conditions.
⸻
⚠️ Disclaimer
This script is for educational purposes only and does not constitute financial advice. Always do your own research before trading.
⸻
ملاحظات الأخبار
This script combines three moving averages into one clean indicator.You can choose the type of MA (EMA or SMA), the source (close, open, HL2, etc.), and the length of each line. All three MAs also change color depending on whether they’re rising, falling, or flat.
MA1 and MA2 crossovers are highlighted directly on the candles (white for bullish, purple for bearish), which makes it easy to spot momentum shifts without adding extra indicators.
Each MA has its own color settings for rising/falling/flat, so you can adjust the look to match your chart style.
Nothing fancy or over-engineered — just a simple and flexible way to monitor 3 MAs at once, read trend direction at a glance, and see crossovers immediately.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.