OPEN-SOURCE SCRIPT
Cập nhật 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
Phát hành các Ghi chú
english fileMã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.