OPEN-SOURCE SCRIPT
Aggiornato EMA 3 y 9 RESTEST 50 Cross ADX PRO

EMA Cross + ADX PRO is a trend-following indicator that combines EMA crossovers, ADX momentum filtering, and a dynamic weighted scoring system to generate high-quality entry and cancellation signals.
How it works:
The indicator triggers a signal when all of the following conditions align simultaneously:
EMA 3 crosses EMA 9 (crossover for BUY, crossunder for SELL)
Price is in the EMA 50 retest zone (±0.25% band)
Trend filter: close above (BUY) or below (SELL) EMA 50
RSI > 50 for longs / RSI < 50 for shorts
Volume exceeds 1.2× its 20-period SMA
ADX > 20 (minimum trend strength, adjustable)
Breakout filter: close above prior high (BUY) / below prior low (SELL)
Weighted Score System: Each of the 6 filters carries a configurable weight (1–5). If the counter-score reaches the cancellation threshold AND the market has no strong momentum (ADX > 25), the signal is cancelled. If price breaks the 5-bar swing opposite to the trade, cancellation is immediate.
UI Translation (Spanish → English):
ADX longitud = ADX Length | ADX mínimo = ADX Minimum | Peso Tendencia = Trend Weight | Peso RSI = RSI Weight | Peso Volumen = Volume Weight | Peso ADX = ADX Weight | Peso Zona = Zone Weight | Peso Fuerza = Strength Weight | Score cancelación = Cancellation Score Threshold | Mostrar tabla = Show dashboard
How it works:
The indicator triggers a signal when all of the following conditions align simultaneously:
EMA 3 crosses EMA 9 (crossover for BUY, crossunder for SELL)
Price is in the EMA 50 retest zone (±0.25% band)
Trend filter: close above (BUY) or below (SELL) EMA 50
RSI > 50 for longs / RSI < 50 for shorts
Volume exceeds 1.2× its 20-period SMA
ADX > 20 (minimum trend strength, adjustable)
Breakout filter: close above prior high (BUY) / below prior low (SELL)
Weighted Score System: Each of the 6 filters carries a configurable weight (1–5). If the counter-score reaches the cancellation threshold AND the market has no strong momentum (ADX > 25), the signal is cancelled. If price breaks the 5-bar swing opposite to the trade, cancellation is immediate.
UI Translation (Spanish → English):
ADX longitud = ADX Length | ADX mínimo = ADX Minimum | Peso Tendencia = Trend Weight | Peso RSI = RSI Weight | Peso Volumen = Volume Weight | Peso ADX = ADX Weight | Peso Zona = Zone Weight | Peso Fuerza = Strength Weight | Score cancelación = Cancellation Score Threshold | Mostrar tabla = Show dashboard
Note di rilascio
english fileScript open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.