MACD EA

Get the MACD EA!

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 | |||
Martingale | |||
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
Hi Yannick,
I have an enquiry regarding the trading logic of MACD EA. The buy signal is normally when macd histogram or signal line crosses zero line from BELOW, i.e. bullish zero line crossover and vice versa.
However, MACD EA seems to be set the other way round.
Please let me know what you think.
Cheers,
Yew
Yes, this strategy works the other way. But you can easily inverse this by using the inverse strategy parameter.
macdpro EA. On normal macd setting EA took me in OK. adding MAfilter 14 expot close did not. What stupid thing an I doing wrong Yannick haha. ALSO does the standard MACD have to be on the chart please?
I’m sorry I do not understand your first question.
No, the macd indicator does not need to be on the chart, but it helps you to see the entry and exit signal.
Hi Yannick,
I have used basically all of your EA’s. Tested them bit life with small margin and on Demo with normal money management. I don’t want to wright a long issue here as there are many On the MACD EA I have tried many settings. The MACD EA skips clearly signals. I have tried the super macd and the normal and clearly when I would have done a manual buy the MACD EA does not Reverse on Opposite Signal(set to true). I have set Trade on new Bar, Trade max. once per Bar and inverse strategy to false. Trade direction is set to long and short positions. Can you give me possible causes as to why the MACD does not reverse on the opposite signal? I thought it might be the internet connections, but I have a very good stable internet connection and run basically all my EA’s on a dedicated top shelf computer acting as a server only for trading only. My account is an ECN account with fast execution.
Regards
Morne
Please open a new topic in the forum and provide screenshots and your settings.
Is it possible to enter multiple trades even if another one hasn’t closed? For example, I had a buy trade hit its loss but the new sell trade did not initiate when it crossed the zero because the buy trade hadn’t closed yet.
No, this is not possible. The EA handle always only one trade at the time.
Hi, is it possible to set to close open positions at opposite cross line?
Not sure what you mean :/
Hi,
Is there any chance you can make a EA that trades using MACD divergence>
No, unfortunately, not at the moment.
hi yannick
can the macd ea open a trade for every macd crosses? does not matter if its above or below zero. as long as histogram cross signal line. is it possible? thank you
No, this is not possible.
Which frame I can trade (MACD EA ) 4H or 1H ?
You can use it on all timeframes.
Can you code the parameter “Enter Trade Long when Histogram ist negativ at any time” and same for Short trade. So when my Long trade get stopped out but the Histogram is still positiv, the enter right now another new long position.
You know what i mean?
I bought the Pro Version and like to update 🙂
Thanks
Unfortunately, at the moment it is not possible to make modifications.
Hello Yannick! I was wondering if using the SuperMacd strategy, in case if there is a buy order in progress and the indicator indicates a sell order, will you have two orders at the same time?
No, the EA has max 1 open trade at the same time.
Hi i want to know is your root opens and closes in an opposite signal and exactly the same time opens a new trade or not? Thanks
This can be done with the Reverse on Opposite Signal function in the pro version.
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.
No, both should work. Do you use the same settings for both accounts? Maybe increase the spread filter.
Hi Yannick,
Thanks, EA works well. 🙂 Tell me, if I choose an exit strategy, do I set my TP to 0 ?
You can do this if you want.
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?
Yes, exactly.
Can the EA only have 1 open position at a time?
Yes
With the MACD Expert can the Super MacD be changed , change amount of bars back 1 – 15 bars back .
Thank You Dave H.
No, the Super MACD is fixed.
Hi bro,
How bout to taking profit, we can choose from ADR or ATR each currency?
TQ.
Don’t know exactly what you mean, but if you need to know more about the take profit, read my functions glossary.
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
I’m not 100% sure what you mean, but I hope the functions glossary will help you.
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?
thanks
It closes on TP/SL or on one of the three exit strategy you set (only pro).
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.
Its the trailingStop function. See this short video to see how it works.
hi, Yannick which is the most profitable MACD Pro Strategy using the 1hour charts?
thanks willie
Unfortunately I do not have any settings for this EA.
Dear yanick …, after back test MACD ea …but function martingale not work ., pls., help me
Please send me your .set file via my contact form and I will take a look.
Can I set the numbers of the macd?
Yes, you can adjust all parameters of the MACD.
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
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.
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
Yes. You can use the EA in MT4, on any timeframe and any symbol.
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
I’m not sure if I have already received your mail. Please use this contact form.
MACD EA to work on what timeframe?
This EA is not limited to a specific timeframe. You can use it on any timeframe you want.
Thank you.
I have purchased your MACD EA. Can you send me the Super MACD indicator to my email id please.
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.
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?
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.
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 ?
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.
Can you show results of the pro version (video)
I’m sorry. I don’t have a video of this EA.
How much are you selling the pro version of MACD alone ?
It’s CHF 29.90