Exp_ColorXMACCDCandle - MetaTrader 5 Expert - MT4/MT5 Resources




Signal based trading system Color XMACD Candles Indicator. The signal is formed at the close of the bar. The Expert Advisor uses one of two methods to determine the trend based on the input values:
Enter trend mode TMode=cross; // Trend detection method
- When the signal line intersects the XMACD histogram, the color of the ColorXMACCDCandle signal line changes;
- Color change of the candlestick according to ColorXMACCDandle.
The Expert Advisor operates using the compiled indicator file colorxmacdcandle.ex5. Save it to <terminal data folder>\MQL5\Indicators.
Please note that the TradeAlgorithms.mqh library file allows trading Expert Advisors with non-zero spreads and the option to set Stop Loss and Take Profit with brokers that offer the following services during position opening . You can download more variants of this library via the following link: Trading Algorithms .
The input parameters of the default Expert Advisor have been used during testing, as shown below. Stop Loss and Take Profit were not used during testing.
Figure 1. Example of trade on chart
2015 EURUSD H8 test results:
Figure 2. Test result chart
Attachment download
📎 exp_colorxmacdcandle.mq5 (9.4 KB)
📎 smoothalgorithms.mqh (130.19 KB)
📎 tradealgorithms.mqh (60.9 KB)
📎 colorxmacdcandle.mq5 (11.37 KB)
Source: MQL5 #14980
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •