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.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน