Skip to content
All library documents

Using a 20/50 EMA Crossover for Long-Only Trend Following

Article Strategy library · Author: ianzeng123

Summary

This long-only trend-following system compares a 20-period exponential moving average with a 50-period EMA. It enters long when the faster average crosses above the slower one and exits when it crosses below. Optional percentage-based stop-loss and take-profit orders provide additional exit rules; the stated defaults are 2% and 4%, respectively. The document also describes chart markers, alerts, commission settings, and a published ETH/USDT futures test period.

No backtest performance results are reported, so the example explains rules rather than demonstrating an edge. The document identifies familiar limitations: EMA signals lag, crossovers can whipsaw in ranging markets, and fixed stops may not suit changing volatility. It proposes testing other markets and timeframes, adding confirmation or market filters, and considering volatility-based stops and position sizing. These are suggested extensions, not validated improvements, and fees can weigh on results when signals lead to frequent trades.

Key ideas

  • The system enters long when the 20-period EMA crosses above the 50-period EMA.
  • It closes the long position when the faster EMA crosses below the slower EMA.
  • Optional stops and targets use percentage distances from the average entry price.
  • Lag and sideways-market whipsaws are stated risks of the crossover approach.
  • The published ETH/USDT test settings include no performance results.

Tags

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