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.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.