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

ADX MACD Deev - MetaTrader 5 Expert | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 2 reads | 0 comments |

ADX MACD Deev - expert for MetaTrader 5

Idea from: Dmitry

mq5 code: Barabashkakon

EA based on technical indicators:

Trades are placed when the base MACD line and the signal line move up (buy) and down (sell). In this case, the indicator must be in the same direction on a certain number of bars: for ADX, it is ADX:Bar Interval ; for MACD, it is MACD:Bar Interval .

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

Closing half the position lots ( taking half the profit ) and trailing have been implemented.

Please note the parameters and take half of the profit . If you set Take Half Profit to true, the take profit position will not be placed (even if the take profit is set to greater than zero). Instead, take profit will be taken as a step to capture half of the profit. The image below is a good example of how to take half of the profits from a work:

ADX MACD Deev - expert for MetaTrader 5

Taking half of the profits only works once. The position will then be closed by triggering the stop loss.


Attachment download

📎 adx_macd_deev.mq5 (85.08 KB)

Source: MQL5 #23595

Verification code Refresh