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 de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.