Skip to content
All library documents

Dual-Timeframe EMA Trend and Momentum Trading Chains

Article Strategy library · Author: ChaoZhang

Summary

This system combines two independently enabled EMA-based trading chains. The slower chain uses a weekly EMA crossover for entries and a daily EMA crossover in the opposite direction to close positions. The faster chain enters on a 12-hour crossover and exits on a 9-hour crossover. The stated default EMA lengths are 10 for the first chain and 9 for the second; both chains can generate long and short entries.

The document presents the two horizons as a way to combine longer-term trend following with shorter-term momentum. It describes configurable price sources and timeframes, but supplies no performance statistics or evidence that the combined signals improve results. It flags lag during reversals, market-specific timeframe choices, overfitting from parameter selection, and added exposure when signals overlap. Suggested extensions include volume or volatility filters, dynamic stops, position sizing, drawdown controls, and testing alternative timeframes. The published code also sets its backtest time condition to always true, so the stated date inputs do not appear to restrict execution.

Key ideas

  • The long-term chain enters on weekly EMA crossovers and exits on daily EMA crossovers in the opposite direction.
  • The shorter-term chain uses 12-hour EMA crossovers for entries and 9-hour EMA crossovers for exits.
  • Both chains can be enabled independently and can generate long or short positions.
  • The document provides no measured results and identifies lag, timeframe choice, overfitting, and overlapping signals as risks.
  • It suggests adding filters and explicit risk controls, then validating choices through backtesting.

Tags

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