Skip to content
All library documents

A Digital MACD Histogram and Signal-Line Entry System

Article MQL5 code base

Summary

This description presents an Expert Advisor that uses a Digital MACD indicator to generate trade signals at bar close. Depending on the selected entry mode, a signal can involve the histogram crossing zero, a change in the histogram’s or signal line’s direction, and a histogram crossing the signal line. The system requires a separately compiled indicator file, and a trading library is mentioned for handling nonzero spreads and placing stop-loss or take-profit orders with an opening trade.

The cited test used the default Expert Advisor settings on USD/JPY four-hour data for 2013, with stop-loss and take-profit disabled. The document refers to a chart of deal history and test results but gives no numerical performance statistics in the text, so profitability, drawdown, and robustness cannot be assessed here. It also does not define the precise differences among entry modes or provide broader out-of-sample evidence. The description is best read as a rule outline with a limited historical test reference, not as evidence of a reliable strategy.

Key ideas

  • The system generates signals at bar close from Digital MACD histogram and signal-line behavior.
  • Entry logic may use a zero crossing, a direction change, or a histogram crossing of the signal line.
  • The cited historical test used USD/JPY four-hour data for 2013 with protective exits disabled.
  • The text gives no numerical performance measures or evidence of robustness beyond that test reference.

Tags

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