Skip to content
All library documents

ADX-Based Trend Visualization and Signal Caveats

Article MQL5 code base

Summary

This indicator uses three ADX periods, set by default to 10, 14, and 20, to display trend regions on the main price chart. It marks where a trend appears to begin and end and where the market lacks a clear trend. An optional alert can signal when a horizontal line starts plotting.

The description says the current bar can be redrawn, so it cautions against using that bar for entry decisions; earlier bars remain unchanged and may serve as signals. It also warns that the indicator produces many false signals despite being described as fairly accurate. The source suggests using moderate stop-loss levels and exiting promptly when the indicated trend ends, but provides no backtest, performance figures, or detailed signal rules. Its practical value therefore depends on independent testing and risk controls.

Key ideas

  • The indicator uses three ADX lookback periods to display trend regions on the price chart.
  • An optional alert can notify the user when a horizontal line begins plotting.
  • The current bar may be redrawn, making it unreliable for immediate entry decisions.
  • Earlier plotted bars remain stable, but the indicator can still produce many false signals.
  • The description recommends stop-loss discipline and exiting when the trend indication ends.

Tags

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