OPEN-SOURCE SCRIPT
Telah dikemas kini

MACD + SMA 200 Indicator v6

142
🔹 Overview
This advanced indicator combines MACD components with a 200-period SMA to identify high-probability trend directions. It provides:
✅ Multi-timeframe trend analysis (Fast, Slow, and Very Slow MAs)
✅ Visual alerts when the 200 SMA changes direction (bullish/bearish)
✅ Customizable display options (toggle MAs on/off individually)
✅ Clean, professional visuals with color-coded trend confirmation

Perfect for swing traders and investors who want to align with the dominant trend while avoiding false signals.

📊 Key Features
1. Triple Moving Average System
Fast MA (12-period) – Short-term momentum

Slow MA (26-period) – Medium-term trend

Very Slow MA (200-period) – Long-term trend filter (bullish/bearish market)

2. Smart Trend Detection
200 SMA Color Shift: Automatically changes color when trend reverses (green = bullish, red = bearish).

Visual Labels ("BU" / "SD"): Marks where the 200 SMA confirms a new trend direction.

3. Fully Customizable
Toggle each MA on/off (reduce clutter if needed).

Enable/disable colors for cleaner charts.

Adjustable lengths for all moving averages.

4. Built-in Alerts
🔔 "Very Slow MA Turned Green" – Signals potential bullish reversal.
🔔 "Very Slow MA Turned Red" – Signals potential bearish reversal.

🎯 How to Use This Indicator
📈 Bullish Confirmation (Long Setup)
✔ Price above 200 SMA (Very Slow MA turns green)
✔ Fast MA (12) > Slow MA (26) (MACD momentum supports uptrend)
✔ "BU" label appears (confirms trend shift)

📉 Bearish Confirmation (Short Setup)
✔ Price below 200 SMA (Very Slow MA turns red)
✔ Fast MA (12) < Slow MA (26) (MACD momentum supports downtrend)
✔ "SD" label appears (confirms trend shift)

⚙️ Settings & Customization
MA Visibility: Turn individual MAs on/off.

Colors: Disable if you prefer a minimal chart.

Alerts: Enable to get notifications when the 200 SMA changes trend.

📌 Why This Indicator?
Avoid false signals by combining MACD with the 200 SMA.

Clear visual cues make trend identification effortless.

Works on all timeframes (best on 1H, 4H, Daily for swing trades).

🔗 Try it now and trade with the trend! 🚀

📥 Get the Indicator
👉 Click "Add to Chart" and customize it to your trading style!

💬 Feedback? Let me know in the comments how it works for you!
Nota Keluaran
📈 MACD + SMA 200 Indicator v6 – With Price Cross Alerts
This enhanced version of the MACD + SMA 200 indicator includes powerful visual and alert-based tools to help traders identify key market turning points and trend shifts.

🔍 Key Features:
MACD Calculation : Fast (12), Slow (26), and Signal (9) moving averages.
Multiple Moving Averages :
Fast MA
Slow MA
Very Slow MA (SMA 200)
Directional Color Coding :
Green = Uptrend / Bullish
Red = Downtrend / Bearish
Visual Markers :
"BU" for bullish SMA 200 turn
"SD" for bearish SMA 200 turn
↑ / ↓ arrows when price crosses above or below the 200-period SMA
🚨 Alert Conditions:
Very Slow MA (200) turns green – Bullish trend confirmation.
Very Slow MA (200) turns red – Bearish trend confirmation.
Price crosses above the 200-period SMA – Potential long signal.
Price crosses below the 200-period SMA – Potential short signal.
🛠️ Fully Customizable:
Toggle visibility of each MA line.
Enable/disable colors and alerts.
Easily adjustable MA lengths.
🧠 Ideal For:
Trend-following strategies
Filter trades based on long-term momentum
Use as part of a multi-timeframe analysis system
Whether you're scalping, day trading, or swing trading, this indicator provides clear signals and actionable alerts to keep you aligned with the dominant trend — all in one clean overlay!

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.