MACD with Alert for MT4 and MT5
MACD Alert indicator is a free MT4/MT5 indicator that you can download here and use in your MetaTrader to receive notifications via email, mobile app, and in the platform when MACD crosses the zero line or when its main line crosses its signal line.
What Is MACD Indicator?
MACD means Moving Average Convergence and Divergence. MACD indicator is a technical indicator that shows the difference between two moving averages.
You can see the MACD as a histogram or line chart that shows if two moving averages are getting closer or farther away.
Values farther from zero normally mean a gain of momentum while values closer to zero usually indicate a loss of momentum.
MACD Alert Indicator
MetaTrader platform includes MACD among its indicators, but it lacks notification features.
In many cases, it is worthwhile to get when MACD's main line is crossing the zero level or when its signal line crosses the main line because they could be trading opportunities.
You can benefit from such alerts in both trend following and trend reversal strategies.
To compensate for this missing feature, you can download our free MACD Alert indicator for MetaTrader.
This indicator allows you to get notification when some conditions trigger. You can receive notifications via:
- Mobile app
- On screen
Another interesting feature of this MACD Alert indicator is that it can draw buy and sell signals as arrows on the chart when some signal appears.
MACD Alert Indicator Source Code
If you are interested in alert indicators, you can use the source code of the present MACD Alert Indicator for your further development. Additionally, you can inspect the code of our Alert Indicator Template, which was used as a foundation for this indicator.
How to Download and Use MT4 MACD Alert Indicator?
You can download the indicator for free using the link below and install it by following the provided instructions.
The installation is very easy to perform. The same is true for using this tool.
Once you run the indicator you can set the parameters. You can select MACD alert conditions to use and how to receive notifications.
Downloads
➥ MQLTA MT4 MACD With AlertMT4 MACD Alert Installation
To install MT4 MACD Alert Indicator, please follow the instructions below:
- Download the indicator archive file.
- Open the MetaTrader 4 data folder (via File→Open Data Folder).
- Open the MQL4 Folder.
- Copy all the folders from the archive directly to the MQL4 folder.
- Restart MetaTrader 4 or refresh the indicators list by right-clicking the Navigator subwindow of the platform and choosing Refresh.
For more detailed instructions on how to perform the installation please visit this article.
MT5 MACD Alert Indicator
What Is MT5 MACD Alert Indicator?
MACD Alert Indicator for MetaTrader 5 is a plugin that allows you to set up alerts for MACD main line crossing zero or signal line on your MT5 chart. It has exactly the same features as the version of the indicator for MT4.
How to Download and Use MT5 MACD Alert Indicator?
You can download the indicator for free using the link below and install it by following the provided instructions.
Downloads
➥ MQLTA MT5 MACD With AlertMT5 MACD Alert Installation
To install the MT5 MACD Alert Indicator please follow the instructions below:
- Download the indicator archive file.
- Open the MetaTrader 5 data folder (via File→Open Data Folder).
- Open the MQL5 Folder.
- Copy all the folders from the archive directly to the MQL5 folder.
- Restart MetaTrader 5 or refresh the indicators list by right-clicking the Navigator subwindow of the platform and choosing Refresh.
For detailed instructions on how to setup the alerts in MetaTrader please refer to our guide on notifications in MT4/MT5..
You can open a trading account with any of the MT4 Forex brokers to freely use the presented here indicator for MetaTrader 4. If you want to use an MT5 version of the indicator presented here, you would need to open an account with a broker that offers MetaTrader 5.
Discussion
Do you have any suggestions or questions regarding this indicator? You can always discuss MACD with Alert with the other traders and MQL programmers on the indicators forums.
Changelog
1.02 — 2023-05-17
- Added an option to display two types of alerts at once — signal/main crossover and main/zero crossover.
- Added separate alert arrows for different alert types.
- Added an option to display MACD's main output either as a histogram or as a line.
- Added zero level line in the indicator's subwindow.
- Removed some unnecessary recalculations.
- Optimized signal arrow drawing to remove chart blinking.
- Fixed potential
array out range
errors for charts with few candles. - Fixed deletion of signal arrows when the alert trigger candle was set to Previous.