Skip to content
All library documents

Dual EMA Crossover Trend Following with Position Reversals

Article Strategy library · Author: ChaoZhang

Summary

This strategy uses a short and a long exponential moving average to indicate direction. With the stated defaults of 20 and 50 periods, a cross above the longer average signals a long entry, while a cross below signals a short entry. Its code tracks position state and describes closing an existing position when the opposite crossover occurs, alongside automated entry calls.

The document includes BTC/USDT futures backtest settings over a historical daily interval, but reports no returns or other measured results. It identifies familiar limitations of moving-average systems: signals lag, and sideways markets can produce repeated reversals and trading costs from slippage. The source does not define stop-loss or capital allocation rules, despite broad claims about risk control. It also combines position-state conditions with unconditional crossover entries, so the described state management and actual orders may not align exactly. Volatility filters, adaptive exits, and explicit sizing are proposed as improvements.

Key ideas

  • A short EMA crossing above or below a longer EMA defines the directional signal.
  • The stated default EMA periods are 20 and 50.
  • The strategy intends to close and reverse on an opposite crossover.
  • The source has no explicit stop-loss or position-sizing mechanism.
  • Backtest settings are provided, but no performance evidence is reported.

Tags

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