LTOptions at a 33% discount during the Year End Holidays.
Tell me More

Wednesday, February 8, 2012

MACD Divergence indicator for Metatrader

The MACD Divergence indicator displays the traditional MACD histogram indicator panel with the addition of both Regular and Hidden divergences that are also reflected on the price action screen. The indicator sends alerts via email (with attached screenshot of the chart), via mobile notification to your mobile device (Android, iPhone, iPad), and additionally pop up message and/or sound alerts in the Metatrader platform. That’s four different ways to alert the user. The periods of the MACD as well as the colors can be customized.

Here's the indicator in action, displaying Regular/Classical MACD Divergences:
(Click on Image to enlarge)

And here it is displaying Hidden Divergences:
(Click on Image to enlarge)
This indicator was built for the Metatrader platform. The real power, and what makes it unique is its ability to alert the user via sound alarm, pop up message, mobile notification and email with screen shot of the chart attached along with its high degree of customization.

Once you add the indicator to a chart, you get the Parameters Dialog Box. Go to the Inputs tab to configure the parameters. There are essentially three sections. The first one is related to the MACD Settings (default values are 12, 26, 9 but you can change them).

fastEMA: Period length of evaluation of the fast Exponential Moving Average component of the MACD indicator.

slowEMA: Period length of evaluation of the slow Exponential Moving Average component of the MACD indicator.

signalSMA: Period length of evaluation of the signal Simple Moving Average component of the MACD indicator.

The second session of parameters is related to the interface. That is, what you want the indicator to display, and whether you want to be alerted, via a Pop Up message box, Sound, Mobile notification, Email, when a new divergence is confirmed. There are also some other properties that you can use to specify whether you are only interested in Classic divergences or Hidden ones.

drawIndicatorTrendLines: Whether you want lines to be displayed on the Indicator panel when divergences are detected.

drawPriceTrendLines: Whether you want lines to be displayed on the price action chart when divergences are detected.

displayPopUpAlert: true or false depending on whether you want an alert dialog inside Metatrader to be displayed when a new crossover is confirmed.

displaySoundAlert: true or false depending on whether you want a sound alert to be played when a new crossover is confirmed.

soundAlertFile:The sound file to be played if displaySoundAlert is set to true. The file must be located in the /Sounds/ directory of your MetaTrader installation folder.

sendMobileAlert: true or false depending on whether you want to receive notifications in your mobile device (Android, iPhone, iPad) when an alert is issued by the indicator. Your device must be configured in MT4 via Tools -> Options -> Notifications. For more information visit this guide.

Finally the Email Settings section:
The indicator has its own implementation of an email sender engine. That means, it doesn't use the built in engine of Metatrader, but its own. The reason for that is in order to be able to send emails with attachments (chart screen shots) and also to provide users with the ability to have email alerts sent to popular public email servers such as Gmail, Yahoo, Hotmail, GMX, etc. Those two features cannot be accomplished with Metatrader's email sender.  

sendEmailAlert: Whether or not you want the indicator to send email alerts when a signal is triggered.

server: The public SMTP server of your email provider. is used by default.

user: your complete email address

pass: your password

port: The Port open on your SMTP server of choice. For Gmail it is 465.

sendChartScreenShot: when set to true it will attach an image of the chart to the email alert.

I hope this indicator becomes useful in your trading, and that you can benefit from it.

MACD Divergence Indicator $17.00

It is a one time payment only and you can use the indicator indefinitely in as many Metatrader accounts as you want. As part of the purchase you receive a pdf guide with clear step by step instructions on how to install the indicator and how to set up the parameters. If you have any problem with the indicator feel free to contact me at

For more indicators and tools visit the Products page.

Related Articles:
How to measure a system's edge
An expectancy analysis of Regular MACD Divergences for the EURUSD currency pair
OsMA Divergence Indicator for Metatrader 
Momentum Divergence Indicator for Metatrader 
DeMarker Divergence Indicator for Metatrader
CCI Divergence Indicator for Metatrader
Stochastics Divergence Indicator for Metatrader
RSI Divergence Indicator for Metatrader

Go to the bottom of this page in order to see the Legal Stuff


  1. Unfortunately the payment system used is Paypal. But with paypal you don't need to have an account. Paypal allows you to also make a payment using a credit card without being a Paypal user.

    Just click on the "Don't have a paypal account" option when the Paypal payment Portal shows up.

  2. Hi, can i get a demo for 3-4 days before i buy this? I already have about 5-6 MACD Divergence indicators but they all seem to miss some divergence or the other.

  3. Hey Anonymous,

    The indicator has no control over how many platforms you install in, or whether it is demo or real money. You will be totally free to use it in as many places as you want. That being said, unfortunately it has no trial period as I thought that would have complicated the implementation and development time, and I wanted something simpler which could also be delivered at a lower price.

  4. Hi

    Does this indicator repaint please?


  5. It displays only confirmed signals. That is the signal is displayed only after a candle close and it never dissapears, again because it is a confirmed signal. I hope that answers your question.


  6. can't this product be purchased from Nigeria?

  7. Hi.
    Sorry but that is beyond my control. Paypal is the Payment system and as of now, they don't support Nigeria. Sorry for the inconvenience.


  8. Hello,

    can I use it on different time frames?

  9. Hi Veronica. Yes, Absolutely. It can be used on any time frame.


  10. How to do payment from india. I dont have paypal account nor debit credit card.

  11. Hi karanrulesu,

    Unfortunately, If you don't have paypal, nor debit card, not credit card, we cannot make any transaction. Sorry karanrulesu, I don't knw how else you could pay.


  12. is this macd indicator for all market like gold, silver,stock etc?

  13. Hi Anonymous,

    Yes, it should work on all instruments provided in your MetaTrader station.

  14. hi
    i am from nepal ,can i have it? what can be the process?

  15. Hi I'm interested in this MACD divergence alert tool. As I'm new to MT4 interface, is this tool come with installation guide ?
    Currently I'm using the MT4 provided by Exness broker with version 4 , Build 765. Is this MACD alert tool compatible to this MT4 version ?


    1. Thanks for your question Hsien. Yes, it is compatible.