Skip to content
All library documents

Visualizing MACD Zero-Line Crossings with Filled Areas

Article MQL5 code base

Summary

This indicator displays filled regions to show when a selected MACD line is above or below its zero line. Its setting lets the user choose between the MACD main line and the signal line, so the chart can emphasize either series’ relationship to zero.

The document describes a charting aid rather than a complete trading strategy. It gives no entry or exit rules, performance evidence, parameter guidance, or risk controls. A zero-line view can make transitions in the indicator’s sign easier to see, but the document does not establish that those transitions predict profitable trades.

Key ideas

  • The indicator uses filled chart regions to distinguish MACD values above and below zero.
  • Users can choose whether the main line or signal line controls the display.
  • The document explains visualization behavior but provides no trading rules or performance evidence.

Tags

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