Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

Metatrader 4 Experts | MacdPatternTraderv01. +300 points monthly | Free Download

New free code from MQL5: indicators, EAs, and scripts for traders.

You can find the original trading strategy here.

The EA was written in order to check the efficiency of trading strategy described in the link. The obtained results and the EA parameters can be found in the latest issue of our magazine.

Short Description of the EA Algorithm:

1. Timeframe: H4.
2. Symbol: EURUSD; Volume: 1 lot.
3. Indicators: EMA7, EMA21, EMA359, SMA89. MACD 5,13,1.

Experience adaptive trading with the Fluid Expert Advisor for MT4/MT5. Dynamic money management and trend detection. Click for info.

Buying Signal
1. MACD histogram must take a value below -0.0045.
2. After a maximum below -0.0045 has been formed, the histogram must grow above -0.0045 and form a minimum, after which you should buy.
3. A stop order is placed 10 points below the latest local minimum.
4. The first target for 30% of positions is closed, if the price value exceeds that of 21-period exponential average.
5. The second target for a half of all positions is closed as soon as the price reaches a value between the 89-period SMA and the 365-period EMA.
6. The third target for the resting positions is closed as soon as the price reaches the price support level.


Selling Signal
1. MACD histogram must take a value above 0.0045.
2. After a minimum above 0.0045 has been formed, the histogram must fall below 0.0045 and form a maximum, after which you should sell.
3. A stop order is placed 10 points above the latest local maximum.
4. The first target for 30% of positions is closed, if the price value is below 21-period exponential average.
5. The second target for a half of all positions is closed as soon as the price reaches a value between the 89-period SMA and the 365-period EMA.
6. The third target for the resting positions is closed as soon as the price reaches the price resistance level.


The EA tested with standard parameters:

Image for MacdPatternTraderv01. +300 points monthly

After parameters optimization:

Image for MacdPatternTraderv01. +300 points monthly

You can find a full analysis with forward testing in our magazine.


P.S.: All possible variables of the strategy are represented as external variables. Experimenting with parameters, you can find good ones for intraday charts. It is not necessary to test on ticks. Please contact us, if you have any ideas or questions about the Expert Advisor.

Thanks for reading. Discover premium MetaTrader solutions at RobotFX.

8188

Best MetaTrader Indicators + Profitable Expert Advisors