Skip to content
All library documents

EMA Crossover Trend Following with Fast and Slow Averages

Article Strategy library · Author: ChaoZhang

Summary

This trend-following method compares a fast EMA with a slow EMA. A crossover above the slower average opens a long position, and a cross below it closes that position. The example uses configurable periods, with defaults of nine and twenty-one bars, and plots the averages and directional markers. Alert conditions can notify users when either crossover occurs.

The document explains that EMAs respond more quickly than simple moving averages but still lag price, and that frequent crossovers in volatile or rangebound markets can generate false signals and raise trading costs. It suggests trend-strength filters, additional indicators, parameter tuning, and explicit stop-loss or take-profit rules as potential refinements. A BTC/USDT Binance futures backtest configuration is given for one-hour bars in February 2024 with fifteen-minute base data, but the document reports no outcomes. The example is long-only: the downward crossover closes the position rather than initiating a short trade, so its practical behavior is narrower than a two-sided crossover system.

Key ideas

  • The fast EMA crossing above the slow EMA opens a long position, while a downward cross closes it.
  • The example uses default EMA lengths of nine and twenty-one bars.
  • Chart markers and alerts communicate crossover events but do not add confirmation to the signal.
  • Choppy markets can cause repeated false signals, and EMA lag can delay entries.
  • The published backtest settings provide no performance results.

Tags

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