Skip to content
All library documents

Adapting DMI Smoothing and Stochastic Settings for Reversal or Trend Signals

Article MQL5 code base

Summary

This note describes a variation of a DMI and stochastic indicator, with configurable parameters, levels, color changes, alerts, and multi-timeframe use. Its central technical distinction is the smoothing method used to calculate DMI. Wilder-style smoothing, identified as equivalent to SMMA in MetaTrader, reproduces the original DMI calculation; the variation permits other calculation choices to create alternative versions of the indicator.

The author frames the combined tool as potentially useful for spotting quick reversals or identifying longer trends, depending on parameter settings and how signals are configured. The note gives no rules for entries, exits, or position sizing, and it presents no backtest, market examples, or comparative evidence that alternative smoothing improves signals. Its usefulness is therefore as an indicator-design concept to explore and validate, rather than a fully specified trading strategy.

Key ideas

  • Wilder-style smoothing for DMI is described as equivalent to SMMA and reproduces the original calculation.
  • The indicator allows users to experiment with different DMI smoothing methods and parameter levels.
  • Color changes and alerts can be configured, including with multi-timeframe analysis.
  • The tool is presented for either quick reversal seeking or longer trend identification, depending on settings.
  • No trading rules or performance evidence are supplied.

Tags

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