OPEN-SOURCE SCRIPT
parademi super

📌 Indicator Information: EMA 5-8-13 with Noise Reduction
This Pine Script indicator is designed to highlight EMA crossovers and filter out weak or noisy signals by combining multiple confirmation tools.
🔹 Core Logic
Plots three EMAs: 5, 8, and 13.
Colors bars:
Green when price is above all EMAs.
Red when price is below all EMAs.
Orange when price crosses EMA 8.
Displays arrows for 5/8 and 8/13 EMA crossovers (up = bullish, down = bearish).
🔹 Noise Reduction Filters
The script integrates several optional filters to reduce false signals:
Trend alignment: Only signals when EMAs are properly aligned (5>8>13 for bullish, 5<8<13 for bearish).
Close confirmation: Requires bar close beyond EMA 8 by a margin.
ADX filter: Ensures sufficient trend strength (custom ADX calculation).
MFI filter: Confirms with Money Flow Index thresholds.
Volatility filter: Blocks signals when EMAs are too close or ATR is too low.
Higher timeframe (HTF) filter: Confirms direction with EMA 8/13 crossover on a higher timeframe.
Debounce: Minimum bar distance between signals to avoid repetition.
🔹 Customization
All filters and thresholds are adjustable in the input menu:
Enable/disable specific filters.
Change EMA lengths, ADX/MFI parameters, ATR threshold, or HTF resolution.
Adjust the minimum bars between signals for cleaner charts.
🔹 Alerts
Built-in alerts are included for each crossover type (Bull/Bear for 5/8 and 8/13).
⚠️ Note: This is an educational tool for technical analysis. Always backtest and confirm with your own strategy before making trading decisions.
This Pine Script indicator is designed to highlight EMA crossovers and filter out weak or noisy signals by combining multiple confirmation tools.
🔹 Core Logic
Plots three EMAs: 5, 8, and 13.
Colors bars:
Green when price is above all EMAs.
Red when price is below all EMAs.
Orange when price crosses EMA 8.
Displays arrows for 5/8 and 8/13 EMA crossovers (up = bullish, down = bearish).
🔹 Noise Reduction Filters
The script integrates several optional filters to reduce false signals:
Trend alignment: Only signals when EMAs are properly aligned (5>8>13 for bullish, 5<8<13 for bearish).
Close confirmation: Requires bar close beyond EMA 8 by a margin.
ADX filter: Ensures sufficient trend strength (custom ADX calculation).
MFI filter: Confirms with Money Flow Index thresholds.
Volatility filter: Blocks signals when EMAs are too close or ATR is too low.
Higher timeframe (HTF) filter: Confirms direction with EMA 8/13 crossover on a higher timeframe.
Debounce: Minimum bar distance between signals to avoid repetition.
🔹 Customization
All filters and thresholds are adjustable in the input menu:
Enable/disable specific filters.
Change EMA lengths, ADX/MFI parameters, ATR threshold, or HTF resolution.
Adjust the minimum bars between signals for cleaner charts.
🔹 Alerts
Built-in alerts are included for each crossover type (Bull/Bear for 5/8 and 8/13).
⚠️ Note: This is an educational tool for technical analysis. Always backtest and confirm with your own strategy before making trading decisions.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.