Skip to content
All library documents

Modified DMI Zero-Cross Strategy for Trend Direction

Article Strategy library · Author: ChaoZhang

Summary

This strategy transforms the difference between the positive and negative directional indicators, +DI and −DI, into a modified DMI oscillator. The difference is optionally smoothed with a selectable moving-average type. The description presents a zero-line crossover as the directional signal: crossing above zero indicates a long signal, while crossing below indicates a short signal. The supplied implementation further conditions entries on the oscillator rising above zero or falling below zero, and closes the opposite position when direction changes. Shorting can be disabled.

The document lists default length and smoothing settings of 9 and provides BTC/USDT futures backtest settings over roughly one year, but no performance results. It notes that DMI is lagging and may miss turning points, that the period needs tuning, and that choppy markets can cause whipsaws. Smoothing may reduce false signals but can also affect responsiveness. The source says the approach is more suited to hourly or longer intervals, though the published backtest configuration uses daily bars.

Key ideas

  • The oscillator is formed from the difference between +DI and −DI and can be smoothed.
  • A rising oscillator above zero signals long positioning, while a falling oscillator below zero signals short positioning.
  • The strategy can close or reverse positions when the opposite directional condition occurs.
  • DMI lag and choppy markets can lead to late entries and whipsaws.
  • The document supplies backtest settings but no performance evidence, and its stated preferred timeframe differs from those settings.

Tags

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