OPEN-SOURCE SCRIPT
DANGHIEU EMA 21/55/200 V2 + ADX ATR Momentum

DANGHIEU EMA 21/55/200 V2 + ADX ATR Momentum is a trend-based market filter that evaluates:
Trend: based on the EMA 21/55/200 alignment.
EMA Separation: measures the distance between EMA 21 and EMA 55.
ADX: evaluates trend strength.
EMA Momentum: measures the rate of change of EMA 21.
ATR: identifies volatility expansion or contraction.
Market Score: combines all conditions into a 100-point market quality score.
The indicator also supports HTF Simulation by scaling indicator lengths according to the selected timeframe ratio.
How to use
Prioritize long setups when:
EMA 21 > EMA 55 > EMA 200.
EMA Separation passes its threshold.
ADX passes its threshold and is preferably rising.
EMA Momentum is positive and aligned with the trend.
ATR is expanding.
Market Score is 80 or higher.
Prioritize short setups when:
EMA 21 < EMA 55 < EMA 200.
EMA Separation passes its threshold.
ADX passes its threshold.
EMA Momentum is negative and aligned with the trend.
ATR is expanding.
Market Score is 80 or higher.
This indicator is a market filter, not a standalone entry signal. It should be combined with market structure, support/resistance, pullbacks, and risk management.
Trend: based on the EMA 21/55/200 alignment.
EMA Separation: measures the distance between EMA 21 and EMA 55.
ADX: evaluates trend strength.
EMA Momentum: measures the rate of change of EMA 21.
ATR: identifies volatility expansion or contraction.
Market Score: combines all conditions into a 100-point market quality score.
The indicator also supports HTF Simulation by scaling indicator lengths according to the selected timeframe ratio.
How to use
Prioritize long setups when:
EMA 21 > EMA 55 > EMA 200.
EMA Separation passes its threshold.
ADX passes its threshold and is preferably rising.
EMA Momentum is positive and aligned with the trend.
ATR is expanding.
Market Score is 80 or higher.
Prioritize short setups when:
EMA 21 < EMA 55 < EMA 200.
EMA Separation passes its threshold.
ADX passes its threshold.
EMA Momentum is negative and aligned with the trend.
ATR is expanding.
Market Score is 80 or higher.
This indicator is a market filter, not a standalone entry signal. It should be combined with market structure, support/resistance, pullbacks, and risk management.
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.
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.