OPEN-SOURCE SCRIPT
Trinity Magic EMA Ribbon Pro

### **User Guide – Trinity Magic EMA Ribbon Pro + Candle Coloring**
#### **1. What Does This Indicator Do?**
It creates a **3-line EMA Ribbon** (High, HLC3, Low) and dynamically colors:
- The ribbon itself (bullish / bearish / neutral)
- The candles (body, border, and wick) based on the ribbon’s position relative to price.
#### **2. How to Read the Ribbon**
| Ribbon Position | Color | Meaning | Candle Color |
|--------------------------|----------------|----------------------------------|--------------|
| Ribbon **below** price | **Green** | Strong Bullish Trend | Green |
| Ribbon **above** price | **Red** | Strong Bearish Trend | Red |
| Price **inside** ribbon | **Orange/Yellow** | Consolidation / Weak Trend | Orange |
#### **3. Settings Explained**
**EMA Ribbon Settings**
- **EMA High / HLC3 / Low Period** → Default = **20** (you can change all three)
- **Ribbon Fill Transparency** → How see-through the background fill is (0 = solid, 100 = invisible)
- **Bull / Bear / Neutral Colors** → Colors for the ribbon lines and fill
- **Show EMA Lines** → Turn the 3 EMA lines on/off
**Candle Coloring Settings**
- **Color Candles Based on Ribbon** → Main on/off switch
- Bull / Bear / Neutral sections → Full control over **Body**, **Border**, and **Wick** colors
#### **4. How to Use It Effectively**
- **Trend Trading**: Look for green candles + ribbon below price (strong uptrend)
- **Mean Reversion**: Orange candles when price is inside the ribbon (range trading)
- **Reversals**: Watch for color changes (especially ribbon flipping from red to green or vice versa)
- Best used on **lower timeframes** with period 20, or higher timeframes with higher periods (e.g. 50–96)
#### **5. Tips**
- Turn off “Color Candles” if you prefer standard TradingView candles.
- You can hide the EMA lines and only use the fill + candle coloring for a cleaner chart.
- Works on any market: Stocks, Forex, Crypto, Futures.
#### **1. What Does This Indicator Do?**
It creates a **3-line EMA Ribbon** (High, HLC3, Low) and dynamically colors:
- The ribbon itself (bullish / bearish / neutral)
- The candles (body, border, and wick) based on the ribbon’s position relative to price.
#### **2. How to Read the Ribbon**
| Ribbon Position | Color | Meaning | Candle Color |
|--------------------------|----------------|----------------------------------|--------------|
| Ribbon **below** price | **Green** | Strong Bullish Trend | Green |
| Ribbon **above** price | **Red** | Strong Bearish Trend | Red |
| Price **inside** ribbon | **Orange/Yellow** | Consolidation / Weak Trend | Orange |
#### **3. Settings Explained**
**EMA Ribbon Settings**
- **EMA High / HLC3 / Low Period** → Default = **20** (you can change all three)
- **Ribbon Fill Transparency** → How see-through the background fill is (0 = solid, 100 = invisible)
- **Bull / Bear / Neutral Colors** → Colors for the ribbon lines and fill
- **Show EMA Lines** → Turn the 3 EMA lines on/off
**Candle Coloring Settings**
- **Color Candles Based on Ribbon** → Main on/off switch
- Bull / Bear / Neutral sections → Full control over **Body**, **Border**, and **Wick** colors
#### **4. How to Use It Effectively**
- **Trend Trading**: Look for green candles + ribbon below price (strong uptrend)
- **Mean Reversion**: Orange candles when price is inside the ribbon (range trading)
- **Reversals**: Watch for color changes (especially ribbon flipping from red to green or vice versa)
- Best used on **lower timeframes** with period 20, or higher timeframes with higher periods (e.g. 50–96)
#### **5. Tips**
- Turn off “Color Candles” if you prefer standard TradingView candles.
- You can hide the EMA lines and only use the fill + candle coloring for a cleaner chart.
- Works on any market: Stocks, Forex, Crypto, Futures.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.