OPEN-SOURCE SCRIPT
Atualizado 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
Notas de Lançamento
english fileScript 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.