OPEN-SOURCE SCRIPT
已更新

Triple EMA/SMA + crossover

94
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 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提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。