Both the MACD and the ADX are very popular indicators. This EA (expert advisor or automatic trading software) for Metatrader 4 combines these two indicators in an effective trading strategy.

This EA analyzes the entry timing carefully, so you can capture trends more accurately. Find out more about this "MACD ADX" EA and download it for free below.

Example of trying the EA - USDJPY 30-minute chart

Results of optimization and backtesting

The indicators used for the EA with each line labelled

Entry logic:

The entry logic is checked only when a new candlestick is created. This EA will place a buy order if the following conditions are met:

  1. The previous ADX is greater than the ADX two bars ago
  2. The previous ADX is greater than the ADX level (defined in parameters)
  3. The previous plus DI is greater than the previous minus DI
  4. The previous plus DI is greater than the minus DI two bars ago
  5. The previous plus DI is above DMI level
  6. MACD is 0 or less
  7. MACD signal 0 or less
  8. MACD line is exceeding MACD signal line
  9. There are no buy orders currently

The entry logic for sell orders is the reverse of the above conditions.

Exit logic:

For buy orders, the EA will process the position held in either of the following conditions (vice versa for sell orders):

  1. MACD and MACD signals are greater than or equal to 0 and MACD signal is higher than MACD
  2. If the stop loss set by the parameter is reached


This EA doesn’t necessarily have a high win rate. However, the profit of the winning trades is much larger on average than the losses of the losing trades. Although it may not be the most fun EA to use, still it can win quite well over a longer period if you look at it in total.

Note: Backtest results may be optimized. Also, the backtest results may differ from the trading results when using a live trading account. Please understand this point before using the EA.

Download the "MACD ADX" EA from the button below

free download

Tip: Can’t open the downloaded archive file (ZIP or RAR)?

Try WinRAR for Windows or The Unarchiver for Mac .

Do you need help with installing this indicator into MT4 for Windows or Mac OS? Our guide HERE will help you.