Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Custom MACD: Enhance your trading with real-time signal alerts on your phone - MetaTrader 5 Script - MT4/MT5 Resources

author EAcpu | 3 reads | 0 comments |

Custom MACD: Elevate Your Trading with Real-Time Signal Alerts to Your Phone - indicator for MetaTrader 5

Custom MACD is an enhanced version of the classic MACD (Moving Average Convergence Divergence) indicator, loved by traders around the world. Designed specifically for MetaTrader 5, Custom MACD not only retains the power of traditional MACD in identifying trends and reversals, but also introduces a game-changing feature: real-time signal alerts sent directly to your mobile phone. With its open source code and user-friendly interface, this indicator is ideal for both new and experienced traders.

Custom MACD operates based on the standard MACD formula:

MACD Line: Difference between fast EMA (default: 12) and slow EMA (default: 26).

Signal line: SMA of MACD line (default: 9).

Histogram: The difference between the MACD and the signal line, an easy gauge of market momentum.

This indicator is visually displayed as:

The MACD line is in Dodge Blue.

Orange signal wire.

Lime green histogram, highlighting trend strength.

Custom MACD: Elevate Your Trading with Real-Time Signal Alerts to Your Phone - indicator for MetaTrader 5

Unlike the default MACD indicator in MetaTrader 5, Custom MACD offers unique features to ensure you never miss a trading opportunity:

Real-time alerts: When a bullish crossover occurs (MACD crosses the signal line, giving a buy signal) or a bearish crossover (MACD crosses below the signal line, giving a sell signal), the indicator sends notifications directly to your mobile phone via MetaTrader 5 (requires setting up push notifications in the MT5 application).

Improve trading efficiency: With instant alerts, you can react quickly to market movements even while away from your trading desk.

While the default MACD only provides data on the chart without automatic alerts, a custom MACD allows you to stay connected with the market and optimize your trading strategy.

Customizable parameters:

Fast EMA period ( Fast EMA , default: 12).

Slow EMA period ( Inp Slow EMA , default: 26).

Signal SMA period ( Inp Signal SMA , default: 9).

Enable/disable alerts ( show reminders , default: true).

Intuitive interface: Optimized colors and line widths make it easy to identify signals on all time frames.

Open source code: can be easily modified to add features such as signal arrows or integration with other indicators.

High Performance: Optimized for smooth operation on MetaTrader 5, even for large data sets.

Never miss an opportunity: receive instant phone notifications on buy or sell signals for quick action.

Suitable for all strategies: Whether you are a scalper, day trader or swing trader, custom MACD performs effectively on all currency pairs and time frames.

Improve accuracy: Combine MACD signals with other tools (e.g. SMA, RSI) to confirm trends and reduce false signals.

Community Friendly: Designed for sharing on the MQL5 codebase, enabling you to contribute to the global trading community.

Download custom MACD from the MQL5 code base.

Compile the file in MetaEditor and drag the indicator onto the MetaTrader 5 chart.

Set up push notifications:

In MetaTrader 5, go to Tools > Options > Notifications and configure push notifications to the MT5 mobile app.

Make sure that Show Alerts is enabled in the indicator's input parameters.

Trading strategy:

Buy: When MACD crosses the signal line (bullish crossover) and the histogram turns positive.

Sell: When the MACD crosses below the signal line (bearish crossover) and the histogram turns negative.

Combine with support/resistance levels or other indicators for greater reliability.

Custom MACD is more than just an indicator, it is a powerful tool that allows you to always stay in sync with the market. The phone alert feature is a huge leap forward compared to the default MACD, saving you time and maximizing profits. With its open source design and flexible customization, this indicator is ideal for traders looking to improve their performance.

Download custom MACD from the MQL5 code base now and experience the power of MACD with real-time alerts! If you have questions or want to customize other features, please leave a comment or contact me. Let's take your trading to the next level together!

Author: Du Van Nguyen Contact: MQL5 Link
Version: 1.00
Update date: May 11, 2025


Attachment download

📎 custom_macd.mq5 (5.39 KB)

Source: MQL5 #59268

Verification code Refresh