Home » Expert Advisor » MACD EA


Get the MACD EA!

  • 4.1/5
  • 62 ratings
62 ratingsX
Very bad! Bad Hmmm Oke Good!
1.6% 6.5% 19.4% 27.4% 45.2%

About the MACD Expert Advisor

The MACD EA uses the Moving Average Convergence/Divergence indicator to enter a trade and uses 4 different entry strategies.

  • Normal MACD:
    Opens a buy position if the Signal Line breaks out of the MACD histogram and both are below the zero line. Vice versa for sell positions.
  • MACD Line Crosses Zero:
    Opens a buy position if the MACD Line (Histogram) crosses the zero line from above.
  • Signal Line Crosses Zero:
    Opens a buy position if the Signal Line crosses the zero line from above.
  • Super MACD:
    Uses the strategy of the Super MACD indicator. If the past 3 bars of the histogram are red and below zero and a blue bar follows, the EA opens a buy trade. Vice versa. This strategy is only available in the MT4 versions.
    (You do not need the Super MACD indicator to trade this strategy. You only need the indicator if you want to visualize and understand the trades)

The MACD EA (Pro) has additionally 3 different exit strategies.

  • MACD & Signal Line Cross: The trade will be closed if the two lines crosses again.
  • Histogram crosses Zero Line: The trade will be closed if the MACD gets above/below the Zero line
  • Signal Line crosses Zero Line: The trade will be closed if the Signal Line gets above/below the Zero line

Included functions

All versions have variable Magic Number, Take Profit, Stop Loss, Lot Size and Slippage.

Versions overview

Functions Basic Advanced Pro
Money Management
Trade on new Bar
Inverse Strategy
Trailing Stop
Break Even
Spread Filter
MA Trend Filter
Trade max. once per Bar
Exit Strategy
Candle Trail
ATR Trail
Day/Time Filter
Reverse on Opposite Signal
Trade Direction

Starter Bundle

The MACD EA is included in the EA Starter Bundle.

More about the MACD EA

  • You can install the MACD EA on limitless demo and live accounts.
  • Note that this Metatrader Expert Advisor does not draw any indicator on the chart.
  • You do not understand all the functions? Take a look at our function glossary.
  • This EA is not pre-optimized. Please read the article about optimization first.
  • The license of every Expert Advisor you download is time limited, but you can re-download newer versions any time in your purchase history.
  • MT4 Basic v1.06
  • MT4 Advanced v1.06
  • MT4 Pro v1.07
  • Dez 13, 2017

  • Fixed: Problem with trading sessions of some brokers
  • Aug 28, 2017

  • Fixed: Martingale function in Pro version
  • May 31, 2016

  • Added: "MACD Line Crosses Zero" entry strategy
  • Added: "Signal Line Crosses Zero" entry strategy
  • Mar 17, 2016

  • Added: Super MACD Strategy to all MT4 versions
  • Feb 19, 2016

  • Fixed: The exit signal “MACD & Signal Line Cross” did not work if “Trade on new bar” was set to false
  • Jan 16, 2016

  • Added: 3 Exit Strategies in the MT4 Pro version
  • Jan 13, 2016

  • Minor updates and fixes in all MT4 versions
  • Sep 24, 2015

  • Initial release MT4 Pro
  • Apr 11, 2015

  • Some improvements in all MT4 versions
  • Added “Max once per Bar” function to all MT4 Advanced and Pro versions
  • Feb 07, 2015

  • Initial release MT4 Basic and MT4 Advanced

Need a good Forex Broker for your trading tools?

43 thoughts on “MACD EA”

  1. Natasha Diedericks says:

    Hi Yannick,

    Please help. The MACD EA Pro does not open any trades in my demo account. Is there a reason for this? It works only in my real account.

    1. Yannick says:

      No, both should work. Do you use the same settings for both accounts? Maybe increase the spread filter.

  2. Natasha Diedericks says:

    Hi Yannick,

    Thanks, EA works well. 🙂 Tell me, if I choose an exit strategy, do I set my TP to 0 ?

    1. Yannick says:

      You can do this if you want.

  3. Pieter Bünger says:

    How does the MA filter work? If the price is above MA for example 55 it should only take long trades, if the price is below 55 MA it should only take short trades. Does it work like that?

    1. Yannick says:

      Yes, exactly.

  4. stephan says:

    Can the EA only have 1 open position at a time?

    1. Yannick says:


  5. David Hoffman says:

    With the MACD Expert can the Super MacD be changed , change amount of bars back 1 – 15 bars back .
    Thank You Dave H.

    1. Yannick says:

      No, the Super MACD is fixed.

  6. IRWAN WAHYUDI says:

    Hi bro,

    How bout to taking profit, we can choose from ADR or ATR each currency?


    1. Yannick says:

      Don’t know exactly what you mean, but if you need to know more about the take profit, read my functions glossary.

  7. Henrique says:

    Good morning friend, first sorry for my English.

    Acquire your MACD and have interest in EA, however download the demo version but have had difficulty defazer it be profitable in examindador.

    My doubt is the following, like the EA to open an order after the crusamento EMA with TP 10 pips and SL 30 pips and if the line crosses again unlike the opening of the order it open another order leaving the previous Abeta until is atinjido or TP or SL and so on

    1. Yannick says:

      I’m not 100% sure what you mean, but I hope the functions glossary will help you.

  8. willie says:

    hi, using the macdpro, if I don’t set a break even how will the trade close, will it close the same way it opened via the macd signal line cross over?


    1. Yannick says:

      It closes on TP/SL or on one of the three exit strategy you set (only pro).

  9. willie says:

    hi, what is meant by
    Here you set the amount of pips you want to Trail.
    If the distance is too far, you give away too much of your reached profit. If it is too narrow, you will be blocked out too often and only with small profits.

    ****This function is inactive until it is 0.

    1. Yannick says:

      Its the trailingStop function. See this short video to see how it works.

  10. willie says:

    hi, Yannick which is the most profitable MACD Pro Strategy using the 1hour charts?

    thanks willie

    1. Yannick says:

      Unfortunately I do not have any settings for this EA.

  11. chamnong boonla says:

    Dear yanick …, after back test MACD ea …but function martingale not work ., pls., help me

    1. Yannick says:

      Please send me your .set file via my contact form and I will take a look.

  12. Nathan says:

    Can I set the numbers of the macd?

    1. Yannick says:

      Yes, you can adjust all parameters of the MACD.

  13. willie says:

    hi, from the inputs tab there is ‘Trade Direction’ with LongAndShort, LongOnly, and ShortOnly, however via the Common tabe, in the Common it has basically the same, so which has more overriding power. thanks willie

    1. Yannick says:

      Use the settings in the EA. If you only set it in the common tab, it will also work, but you will get an error.

  14. willie says:

    hi can the Expert Advisor » MACD EA be used on Metatrader 4 system, also can I use this EA on any time frame and with any of the 28 major currency pairs?

    thanks willie

    1. Yannick says:

      Yes. You can use the EA in MT4, on any timeframe and any symbol.

  15. alejandro says:

    I bought the macd ea martingale pro and does not work properly , or do not set it … I’ve sent an email to see if we can fix it.

    Thank you

    1. Yannick says:

      I’m not sure if I have already received your mail. Please use this contact form.

  16. Stepan Tsvikovskiy says:

    MACD EA to work on what timeframe?

    1. Yannick says:

      This EA is not limited to a specific timeframe. You can use it on any timeframe you want.

      1. Stepan says:

        Thank you.

  17. Ahmed says:

    I have purchased your MACD EA. Can you send me the Super MACD indicator to my email id please.

    1. Yannick says:

      The Super MACD indicator is not included when you purchase the MACD EA. The MACD EA uses the same strategy as the Super MACD, but the EA does not require the indicator.

  18. Ahmed says:

    What if the there is a buy position open by the MACD EA, and suddenly the market goes more down ( and i have a setting reverse on opposite signal ) how does the EA close the buy trade? By stop loss or according to the MACD setting?

    1. Yannick says:

      If the Reverse on opposite signal function is set to true, the buy trade will be closed and a sell trade will be opened, as soon as there is a sell signal.

  19. Ahmed says:

    In the pro version, every time the signal line crosses the main line, the EA enters a position even if a position is open (due to martingale) till a reverse signal takes place right ?

    1. Yannick says:

      No, the EA does not open more than one trade. The martingale function will only affect on the next trade based on your martingale settings.

  20. Ahmed says:

    Can you show results of the pro version (video)

    1. Yannick says:

      I’m sorry. I don’t have a video of this EA.

  21. Ahmed says:

    How much are you selling the pro version of MACD alone ?

    1. Yannick says:

      It’s CHF 29.90

Leave a Reply

Your email address will not be published. Required fields are marked *