OPEN-SOURCE SCRIPT
EMA-RSI-ADX Trend Bands

📌 EMA-RSI-ADX Trend Bands (ERA Trend Bands)
🔥 Overview
The ERA Trend Bands indicator combines Exponential Moving Average (EMA), Relative Strength Index (RSI), and Average Directional Index (ADX) into a powerful multi-factor trend system.
It helps traders:
Identify trend direction (Bullish / Bearish)
Measure trend strength using EMA deviation bands
Confirm momentum with RSI & ADX filters
Visualize conditions with dynamic colors, labels, tables, and signals
⚡ Key Features
📍 EMA Trend Bands
EMA100 with gradient glow effect showing trend bias
Strength bands around EMA (Very Weak → Hyper levels)
Bands color-coded for bullish/bearish extremes
📊 RSI + ADX Confluence
Bullish Signal: RSI ≥ threshold & ADX ≥ threshold → 🟢
Bearish Signal: RSI ≤ threshold & ADX ≤ threshold → 🔴
Candles recolored when conditions are met
Auto-generated labels show live RSI/ADX values
🧩 Strength Levels
Classifies deviation from EMA into 8 levels:
Neutral → Very Weak → Weak → Moderate → Strong → Very Strong → Extreme → Hyper
Dashboard table shows deviation % ranges & strength colors
Dynamic labels display Trend, Strength, Deviation %, RSI & ADX
🎨 Visual Enhancements
Gradient EMA line with glow effect
Bullish (greens) & bearish (reds) vibrant palettes
Background coloring (optional) based on strength
Symbols & labels for entry confirmation
🎯 How to Use
Trend Direction – EMA color + deviation bands show whether market is bullish or bearish.
Strength Confirmation – Use strength labels & dashboard table to gauge overextension.
Entry Signals – Watch for RSI/ADX confluence (green/red labels on chart).
Exits – Monitor when strength fades back toward Neutral/Weak levels.
⚙️ Settings & Inputs
EMA Settings → Length, Line Width, Gradient Intensity
RSI Settings → Length & Thresholds (Bullish / Bearish)
ADX Settings → Length & Thresholds (Bullish / Bearish)
Bands → Enable/disable EMA deviation bands
Labels/Table → Toggle strength info display
Colors → Fully customizable vibrant palettes
🚨 Alerts & Signals
Bullish Condition → RSI & ADX above thresholds
Bearish Condition → RSI & ADX below thresholds
Visual confirmation with labels, candles, and background
⚠️ Disclaimer
This script is for educational purposes only.
It does not constitute financial advice.
Always backtest and use proper risk management before trading live.
✨ Add EMA-RSI-ADX Trend Bands (ERA Trend Bands) to your chart to trade with clarity, strength, and precision.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.