OPEN-SOURCE SCRIPT
Chandelier Exit + EMA Filtered Signals

This script is a powerful upgrade to the original Chandelier Exit by Alex Orekhov (everget), combining trend-following logic with higher-quality trade filtering.
✅ Key Features:
Chandelier Exit logic with ATR-based stop levels
Buy/Sell signals only when trend is confirmed:
Buy: Price must be above EMA 13, 50, and 200
Sell: Price must be below EMA 13, 50, and 200
Candle highlighting: Green for Buy, Red for Sell
Signal labels for visual clarity
Toggle to show/hide EMAs
Built-in alerts for:
Buy signal
Sell signal
Trend direction change
🛠️ Inputs:
ATR Period and Multiplier
Toggle: Use Close Price for High/Low Calculation
Toggle: Show/Hide Labels and State Highlight
Toggle: Show/Hide EMA 13, 50, 200
Toggle: Await confirmed bar for alerts
🔔 Alerts Included:
Chandelier Exit Buy
Chandelier Exit Sell
Direction Change (long to short or vice versa)
💡 How to Use:
Use on trending assets (e.g., Gold, Indices, Crypto).
Combine with support/resistance or session filters for optimal results.
Enable alerts to be notified on trade setups.
📢 Credits:
Based on the original Chandelier Exit script by everget.
Enhancements by AP Capital for filtered signals and better visual feedback.
✅ Key Features:
Chandelier Exit logic with ATR-based stop levels
Buy/Sell signals only when trend is confirmed:
Buy: Price must be above EMA 13, 50, and 200
Sell: Price must be below EMA 13, 50, and 200
Candle highlighting: Green for Buy, Red for Sell
Signal labels for visual clarity
Toggle to show/hide EMAs
Built-in alerts for:
Buy signal
Sell signal
Trend direction change
🛠️ Inputs:
ATR Period and Multiplier
Toggle: Use Close Price for High/Low Calculation
Toggle: Show/Hide Labels and State Highlight
Toggle: Show/Hide EMA 13, 50, 200
Toggle: Await confirmed bar for alerts
🔔 Alerts Included:
Chandelier Exit Buy
Chandelier Exit Sell
Direction Change (long to short or vice versa)
💡 How to Use:
Use on trending assets (e.g., Gold, Indices, Crypto).
Combine with support/resistance or session filters for optimal results.
Enable alerts to be notified on trade setups.
📢 Credits:
Based on the original Chandelier Exit script by everget.
Enhancements by AP Capital for filtered signals and better visual feedback.
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.