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.
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.