Skip to content
All library documents

Long-Only EMA Trend Strategy with DMI, RSI, ADX, and ATR Stops

Article Strategy library · Author: ianzeng123

Summary

This long-only trend strategy enters when a 20-period EMA crosses above a 50-period EMA, provided the directional movement, RSI, and ADX filters also indicate sufficient upward momentum and trend strength. It adds a minimum distance condition between the averages to screen out weak crossovers. A stop is set four ATRs below the entry, and the position closes when the fast EMA crosses back below the slow EMA. The document frames the method for daily, medium- to long-term trend following.

The discussion warns that moving-average signals can whipsaw in sideways markets, that parameter tuning can overfit, and that an ATR stop may be too wide or too tight under different volatility conditions. It suggests regime filters, adaptive settings, and profit-taking refinements. A BTC/USDT futures backtest configuration is provided, but no performance statistics are reported. The prose describes multi-indicator confirmation, while the source code is the clearest specification of the entry rules; readers should verify implementation and test across broader periods and instruments before drawing conclusions.

Key ideas

  • A bullish crossover of the 20- and 50-period EMAs is filtered by DMI, RSI, ADX, and EMA separation.
  • The strategy opens long positions only and exits on a bearish EMA crossover.
  • The initial stop is placed four ATRs below the entry price.
  • Sideways markets can cause false signals, and parameter optimization can weaken out-of-sample performance.
  • The published BTC/USDT futures settings do not include reported performance results.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.