Skip to content
All library documents

Trend Following with Three EMAs, DMI, and MACD

Article Strategy library · Author: ChaoZhang

Summary

This strategy combines three exponential moving averages with the Directional Movement Index (DMI) and MACD to identify directional entries. The 34, 89, and 200 period EMAs are described as short, medium, and longer term trend references, while the stated entry rules focus on price relative to the 34 EMA and DMI readings. Long signals require price above that EMA, +DI above 17, and ADX greater than −DI; short signals reverse the price and directional movement conditions. MACD is presented as an additional confirmation, though the supplied entry logic does not actually include a MACD condition.

The document identifies whipsaws, delayed signals from multiple confirmations, and abrupt reversals as risks, and suggests stops, position sizing, and parameter tuning. It provides parameter settings and a BTC/USDT futures backtest configuration, but no performance results. The description also calls the EMA check a crossover, whereas the code checks whether price is above or below the EMA. The rules therefore need clarification and independent testing before their effectiveness can be assessed.

Key ideas

  • The strategy uses 34, 89, and 200 period EMAs to frame short, medium, and longer term trend direction.
  • Long entries require price above the 34 EMA, +DI above 17, and ADX above −DI.
  • Short entries require price below the 34 EMA, −DI above 17, and ADX above +DI.
  • MACD is described as confirmation, but the supplied code does not use it in the entry conditions.
  • The document warns of whipsaws, lag, and sudden reversals and gives no backtest performance results.

Tags

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