Skip to content
All library documents

MACD_Xtr Entries and Exits on Bar Color Changes

Article MQL5 code base

Summary

This trading system uses the MACD_Xtr indicator to generate trades. It enters at the close of a bar when a red or green bar appears, and exits either through a pending order or when the bar color changes.

The document describes a test on USDCHF at the four-hour interval for 2011, using the expert advisor's default inputs and no stop-loss or take-profit settings. It points to charts of trade history and test results, but provides no numerical performance figures or evaluation of risk. The limited test description does not establish how the system performs in other periods or markets.

Key ideas

  • The system opens trades at bar close when the MACD_Xtr indicator displays a red or green bar.
  • Exits occur through a pending order or a change in bar color.
  • The described USDCHF test used four-hour bars and omitted stop-loss and take-profit settings.
  • The text provides no numerical results or evidence across other markets and periods.

Tags

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