OPEN-SOURCE SCRIPT
LUCY Trend Analysis - MA, EMA, MACD

BULL and BEAR CHRONICLES BY LUCIFER is a precision-crafted trend analysis tool that visually narrates the ongoing battle between bulls and bears using a fusion of classic indicators:
🔍 Core Logic:
This script detects trend direction by combining:
8 EMA vs 34 EMA – momentum crossover.
50 MA & 200 MA – broader trend context.
MACD Line vs Signal Line – momentum confirmation.
✅ Trend Conditions:
🟢 Bullish Trend:
8 EMA > 34 EMA
Price > 50 MA & 200 MA
MACD Line > Signal Line
🔴 Bearish Trend:
8 EMA < 34 EMA
Price < 50 MA & 200 MA
MACD Line < Signal Line
⚪ Sideways: When neither condition is fully met.
🎨 Visuals:
Trend labels: "Bullish", "Bearish", "Sideways"
Color-coded moving averages:
8 EMA (orange), 34 EMA (blue)
50 MA (green), 200 MA (red)
Background shading for clear visual cue:
Light green = Bullish
Light red = Bearish
🔔 Built-in Alerts:
Get notified instantly when a bullish, bearish, or sideways condition is triggered.
⚙️ Best For:
Swing Traders
Trend Followers
Strategy Builders are looking for multi-confirmation setups
🔥 Join the Chronicles. Ride with the bulls, run from the bears, or wait out the chaos — all with Lucifer's guidance.
🔍 Core Logic:
This script detects trend direction by combining:
8 EMA vs 34 EMA – momentum crossover.
50 MA & 200 MA – broader trend context.
MACD Line vs Signal Line – momentum confirmation.
✅ Trend Conditions:
🟢 Bullish Trend:
8 EMA > 34 EMA
Price > 50 MA & 200 MA
MACD Line > Signal Line
🔴 Bearish Trend:
8 EMA < 34 EMA
Price < 50 MA & 200 MA
MACD Line < Signal Line
⚪ Sideways: When neither condition is fully met.
🎨 Visuals:
Trend labels: "Bullish", "Bearish", "Sideways"
Color-coded moving averages:
8 EMA (orange), 34 EMA (blue)
50 MA (green), 200 MA (red)
Background shading for clear visual cue:
Light green = Bullish
Light red = Bearish
🔔 Built-in Alerts:
Get notified instantly when a bullish, bearish, or sideways condition is triggered.
⚙️ Best For:
Swing Traders
Trend Followers
Strategy Builders are looking for multi-confirmation setups
🔥 Join the Chronicles. Ride with the bulls, run from the bears, or wait out the chaos — all with Lucifer's guidance.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.