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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.