Skip to content
All library documents

EMA Crossover Signals Filtered by a Longer Trend Average

Article Strategy library · Author: ChaoZhang

Summary

This strategy combines 4-period and 8-period exponential moving average (EMA) signals with the direction of a 20-period EMA. A move of the shorter EMA above the 8-period EMA supports a long entry when the 20-period average is rising; the reverse relationship and a falling 20-period average support a short entry. A reversal in the short averages prompts an exit warning, while a change in the longer average’s direction is described as the exit trigger.

The document outlines possible refinements such as stop losses, parameter tuning, and combining signals with other models. It warns that fixed averages can generate false signals, especially in choppy markets, and does not report strategy performance. The published settings describe a BTC/USDT futures backtest, but the source’s time-window function is unconditional and its exit calls appear inconsistent with the stated exit logic. The material therefore presents a basic strategy concept rather than evidence of effectiveness.

Key ideas

  • A 4-period EMA crossing the 8-period EMA supplies the directional signal.
  • The 20-period EMA’s direction acts as a trend filter for entries.
  • The strategy describes early exit preparation on a short-average reversal and exit on a longer-average reversal.
  • Fixed moving-average periods can produce false signals and perform poorly in sideways markets.
  • The published backtest settings do not include performance results, and the source has apparent implementation inconsistencies.

Tags

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