Skip to content
All library documents

EMA Crossover Strategy with 20-, 50-, and 200-Day Averages

Article Strategy library · Author: ChaoZhang

Summary

The document introduces a moving-average crossover method and describes a three-average version using 20-, 50-, and 200-day exponential moving averages. Its stated long condition is for the 20-day and 50-day averages to cross above the 200-day average, with the reverse alignment for shorts. The source code differs: it enters when the 20-day average crosses the 50-day average while both are on the corresponding side of the 200-day average. It also specifies stop and target orders based on the signal bar’s low and high.

The discussion identifies simplicity and clear signals as advantages, and lag and false signals in sideways markets as limitations. It suggests tuning periods and adding volume or Bollinger Band filters. Published settings identify a BTC-USDT futures backtest period, but the document provides no performance statistics, so it does not establish profitability. The implementation’s differing entry description and its stop and target calculations are reasons to verify the strategy logic and order behavior before drawing conclusions.

Key ideas

  • The strategy uses 20-, 50-, and 200-day exponential moving averages to define trend context.
  • The prose describes both shorter averages crossing the long average, while the code triggers on a 20-day/50-day crossover with 200-day alignment.
  • Moving-average signals can lag price turns and whipsaw in range-bound markets.
  • The source sets exits using the signal bar’s high and low, so its order logic merits careful review.
  • The published backtest settings contain no reported performance results.

Tags

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