Skip to content
All library documents

EMA Crossover Trend Following with a Long-Term EMA Filter

Article Strategy library · Author: ChaoZhang

Summary

This document presents a trend-following approach built around short- and medium-term exponential moving average (EMA) crossovers, with a longer EMA used to restrict trade direction. Its stated settings use 20-period and 50-period EMAs for entry signals and a 200-period EMA as the trend filter: a bullish crossover can enter long when price is above the long-term EMA, while a bearish crossover can enter short when price is below it. Positions close on an opposite crossover.

The written overview also describes RSI and ATR filters to avoid stretched or consolidating conditions, and suggests parameter tuning and trailing stops. However, the supplied strategy code calculates RSI and ATR without using them in its entry or exit conditions. The published BTC/USDT futures backtest spans about one month, but no results are provided. The document warns that crossovers can whipsaw in consolidation and that parameters may need instrument-specific testing; it does not establish profitability or demonstrate the proposed filters’ effect.

Key ideas

  • The stated entries use a 20-period and 50-period EMA crossover, filtered by price relative to a 200-period EMA.
  • Positions are closed when the shorter EMA crosses back across the longer EMA.
  • The overview proposes RSI and ATR filters, but the supplied code does not apply them to trading decisions.
  • The published BTC/USDT futures backtest settings cover about one month and report no performance figures.
  • Crossover noise and instrument-specific parameter sensitivity are identified as risks.

Tags

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