Skip to content
All library documents

DEMA-Based MACD Crossover Strategy for Trend Entries

Article Strategy library · Author: ChaoZhang

Summary

This document presents a MACD-style trend strategy that calculates fast and slow double exponential moving averages (DEMA) from price. Their difference forms the MACD line, and a DEMA-smoothed version of that line serves as the signal line. A bullish crossover signals a long entry and a bearish crossover signals a short entry. The listed default lengths are 12, 26, and 9, and the source also includes date-related inputs, though those filters are not applied to its entry rules.

The document argues that DEMA may reduce some lag and noise compared with a conventional MACD crossover, while warning that crossover signals can fail in sideways markets. It recommends adding filters, testing across instruments, and defining stop rules and position sizing. A BTC/USDT futures backtest configuration is provided for part of 2023, but no results or performance measures are reported. The strategy has no implemented stop-loss logic in the supplied source, so its risk controls remain an unresolved part of the design.

Key ideas

  • Fast and slow price DEMAs define the MACD line, with a DEMA-smoothed signal line.
  • Crossovers between the two lines trigger long or short entries.
  • The listed default indicator lengths are 12, 26, and 9.
  • The source includes date inputs but does not apply them to its entry rules.
  • Sideways markets, false crossovers, and absent stop logic are notable limitations.

Tags

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