Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Exp_ColorXMACCDCandle - MetaTrader 5 Expert - MT4/MT5 Resources

author EAcpu | 5 reads | 0 comments |

Exp_ColorXMACDCandle - expert for MetaTrader 5

Exp_ColorXMACDCandle - expert for MetaTrader 5

Exp_ColorXMACDCandle - expert for MetaTrader 5

Exp_ColorXMACDCandle - expert for MetaTrader 5

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
  1. When the signal line intersects the XMACD histogram, the color of the ColorXMACCDCandle signal line changes;
  2. 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.

Exp_ColorXMACDCandle - expert for MetaTrader 5

Figure 1. Example of trade on chart

2015 EURUSD H8 test results:

Exp_ColorXMACDCandle - expert for MetaTrader 5

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

Verification code Refresh