OPEN-SOURCE SCRIPT
Advanced Rainbow EMA + SMMA System

Advanced Rainbow EMA + SMMA System
This custom indicator overlays eight rainbow‑colored EMAs (20, 25, 30, 35, 40, 45, 50, 55) together with two Smoothed Moving Averages (SMMA 50 in white, SMMA 200 in red).
Features:
🌈 Rainbow EMAs: Smooth gradient from yellow → gold → orange → dark orange → tomato → crimson → red → blue, showing short‑ to medium‑term momentum.
⚪🔴 Smoothed Moving Averages: Thick white SMMA (50) and thick red SMMA (200) for long‑term trend context.
🟩🟥 Background shading: Green when EMAs align bullish and SMMA 50 > SMMA 200, red when bearish.
📈📉 Signal arrows: “BUY” labels on Golden Cross (SMMA 50 crossing above SMMA 200), “SELL” labels on Death Cross (SMMA 50 crossing below SMMA 200).
🔔 Alerts: Built‑in TradingView alerts for Golden/Death Cross and for strong bullish/bearish EMA alignment.
Use case: This tool helps traders quickly visualize short‑term momentum against long‑term smoothed trend direction. It highlights strong trending conditions, potential reversals, and crossover signals, making it suitable for swing trading, trend following, and confirmation of entries/exits.
This custom indicator overlays eight rainbow‑colored EMAs (20, 25, 30, 35, 40, 45, 50, 55) together with two Smoothed Moving Averages (SMMA 50 in white, SMMA 200 in red).
Features:
🌈 Rainbow EMAs: Smooth gradient from yellow → gold → orange → dark orange → tomato → crimson → red → blue, showing short‑ to medium‑term momentum.
⚪🔴 Smoothed Moving Averages: Thick white SMMA (50) and thick red SMMA (200) for long‑term trend context.
🟩🟥 Background shading: Green when EMAs align bullish and SMMA 50 > SMMA 200, red when bearish.
📈📉 Signal arrows: “BUY” labels on Golden Cross (SMMA 50 crossing above SMMA 200), “SELL” labels on Death Cross (SMMA 50 crossing below SMMA 200).
🔔 Alerts: Built‑in TradingView alerts for Golden/Death Cross and for strong bullish/bearish EMA alignment.
Use case: This tool helps traders quickly visualize short‑term momentum against long‑term smoothed trend direction. It highlights strong trending conditions, potential reversals, and crossover signals, making it suitable for swing trading, trend following, and confirmation of entries/exits.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.