A powerful MetaTrader custom indicator that enhances the traditional MACD with an additional Moving Average line for superior technical analysis and trend confirmation.
Advanced MACD indicator with additional Moving Average overlay for MT4/MT5. Features customizable MACD histogram, signal line, and trend-confirming MA. Perfect for momentum analysis, trend identification, and divergence spotting. Educational tool with risk warnings included.
The MACD2L indicator displays three essential components in a separate window:
- MACD Histogram: Shows momentum between MACD and Signal lines
- Signal Line: EMA of the MACD line (dotted blue line)
- Moving Average: Additional MA line for trend confirmation (red line)
This versatile indicator works on both MetaTrader 4 and MetaTrader 5 platforms, providing traders with enhanced technical analysis capabilities.
- ✅ Compatible with both MetaTrader 4 and MetaTrader 5
- ✅ Traditional MACD with customizable periods
- ✅ Configurable Signal line calculation
- ✅ Additional Moving Average overlay for trend confirmation
- ✅ Customizable colors and line styles
- ✅ Works on all timeframes
- ✅ Clear separate window display
- ✅ Multiple price mode options
- Download the
.mq5file - Copy to:
MT5 Data Folder/MQL5/Indicators/ - Restart MT5 or refresh Navigator
- Find "MACD2L" in Custom Indicators
- Download the
.mq4file - Copy to:
MT4 Data Folder/MQL4/Indicators/ - Restart MT4 or refresh Navigator
- Find "MACD2L" in Custom Indicators
| Parameter | Default | Description |
|---|---|---|
fast_period |
12 | Fast EMA period for MACD |
slow_period |
26 | Slow EMA period for MACD |
signal_period |
9 | Signal line EMA period |
price_mode |
Close | Price type (Close, Open, High, Low) |
| Parameter | Default | Description |
|---|---|---|
average |
21 | Period for additional Moving Average |
mode |
EMA | MA method (SMA, EMA, SMMA, LWMA) |
- MACD Histogram: Silver bars showing momentum strength
- Signal Line: Blue dotted line (9-period EMA of MACD)
- MA Line: Red solid line (21-period MA for trend filter)
- Buy: MACD crosses above Signal line + MA trending up
- Sell: MACD crosses below Signal line + MA trending down
- Bullish Trend: MACD histogram positive, above MA line
- Bearish Trend: MACD histogram negative, below MA line
- Divergence Trading: Price vs. MACD divergences
- Zero Line Crosses: MACD crossing above/below zero
- MA Filter: Use MA line to filter false signals
| Platform | Version | Status |
|---|---|---|
| MetaTrader 4 | Build 1380+ | ✅ Supported |
| MetaTrader 5 | Build 3440+ | ✅ Supported |
| All Timeframes | M1 to MN1 | ✅ Compatible |
| All Instruments | Forex, Stocks, Crypto, Commodities | ✅ Compatible |
- Bullish Signals: MACD histogram above zero, Signal line trending up
- Bearish Signals: MACD histogram below zero, Signal line trending down
- Trend Confirmation: Use the MA line to confirm overall trend direction
- Divergences: Look for price vs. MACD divergences for potential reversals
- v1.05 - Enhanced stability and MT4/MT5 compatibility
- v1.04 - Added customizable MA methods
- v1.03 - Improved visual elements
- v1.02 - Bug fixes and optimizations
- v1.01 - Initial release
- MetaTrader 4 (Build 1380+) or MetaTrader 5 (Build 3440+)
- Windows 7/8/10/11 or compatible system
- 50MB available storage space
- Stable internet connection for real-time data
- Trading involves substantial risk of loss
- Past performance doesn't guarantee future results
- This indicator is for educational purposes only
- Always use proper risk management
- Never risk more than you can afford to lose
- Consider seeking professional financial advice
We welcome contributions to improve this indicator:
- Fork the repository
- Create feature branch
- Submit pull request with detailed description
- Follow MQL4/MQL5 coding standards
- 🌐 Website: TradingFinder.com
- 📊 More Indicators: MT4/MT5 Products
- 📚 Trading Education: Available on our website
- 💬 Community: Join our trading discussions
- 🌐 TFlab TradingView: TFlab TradingView
This project is licensed under the MIT License - see the LICENSE.md file for details.
Developed by TFLab | TradingFinder.com
Empowering traders with professional-grade technical analysis tools