ADX MACD Deev - expert for MetaTrader 5

ADX MACD Deev - expert for MetaTrader 5

Idea by: Dmitry

mq5 code by: barabashkakvn

An EA based on technical indicators:

  • iADX (Average Directional Movement Index, ADX) for the movement strength direction.
  • iMACD (Moving Average Convergence/Divergence, MACD) for identifying the movement direction;

Transactions are made when the basic and signal MACD lines move upwards (for buying) and downwards (for selling). In this case, the indicators must be in the same direction at a certain number of bars: For ADX, it is ADX: bars interval; for MACD, it is MACD: bars interval.

In both cases, the main ADX line must move upwards and be above the value of 20 (ADX: minimum).

Closing a half of the position lot size (Take half the profit) and trailing have been realized.

Please note parameter Take half the profit. If you set Take half the profit for true, then the Take Profit of the position will not be placed (if even Take Profit is set for above zero). Instead, Take Profit will work as a step to take a half of the profit. The picture below demonstrates well how Take half the profit works:


Taking a half of the profit works only once. Then the position will be closed by triggering the Stop Loss.

Download ADX MACD Deev - expert for MetaTrader 5

Related News

Latest News
Factbox: Timeline of the Russia doping case
07.12.2019 14:06
LAUSANNE, Switzerland (Reuters) - The World Anti-Doping Agency (WADA) will on Monday consider a recommendation from its compliance committee to hand Russia a four-year Olympic ban as part of a sanctions package to punish Moscow for handing WADA doctored and incomplete laboratory data. Russia, which has denied state involvement in doping, says the
Read more
Germany's SPD slip in polls after choosing new leftist leaders
07.12.2019 14:03
BERLIN (Reuters) - Support for Germany's Social Democrats (SPD) has fallen after members last week chose as leaders a leftist duo who are skeptical about remaining in government with Chancellor Angela Merkel's conservatives, a poll showed on Saturday. At a party conference on Friday, the SPD gave their new leaders, Saskia Esken and
Read more
United States and Iran swap prisoners in rare act of cooperation
07.12.2019 13:06
By Parisa Hafezi DUBAI (Reuters) - The United States and Iran swapped prisoners - a Chinese-American detained for three years on spying charges and an imprisoned Iranian - on Saturday in a rare act of cooperation between two longtime foes whose ties have worsened since President Donald Trump took office. Trump said Chinese-American Xiyue Wang was
Read more
Pope meets with Maltese PM hit by scandal over reporter's murder
07.12.2019 13:03
VATICAN CITY (Reuters) - Pope Francis on Saturday gave a private audience to outgoing Maltese Prime Minister Joseph Muscat, ignoring an appeal to cancel the meeting with a premier engulfed in crisis over a probe into a murdered journalist. Francis met Muscat and his wife and family on Saturday morning, the Vatican said, in an audience that was far
Read more
Buttigieg pledges billions to curb education disparities
07.12.2019 12:15
By Michael Martina DETROIT (Reuters) - Democratic presidential candidate Pete Buttigieg vowed on Saturday to spend hundreds of billions of dollars to improve public education if elected, with a plan that boosts funds for "underserved children" and expands early childhood learning. Buttigieg, who has campaign stops this weekend in Iowa where he has
Read more