MACD CrossoverPro
- Experts
- Samuel Cavalcanti Costa
- 버전: 1.0
- 활성화: 5
MACD Crossover Pro is a professional Expert Advisor built on one of the most reliable and time-tested strategies in technical analysis: the MACD line crossover with the Signal line. Designed for traders who value simplicity, transparency, and consistent rule-based execution.
HOW IT WORKS
The EA monitors the MACD indicator (Moving Average Convergence Divergence) in real time. The entry logic is straightforward and powerful:
- When the MACD line crosses above the Signal line → the EA opens a BUY position
- When the MACD line crosses below the Signal line → the EA opens a SELL position
All signals are confirmed on closed bars only, eliminating false signals and repainting issues that affect many other EAs.
When a new signal is generated in the opposite direction, the EA automatically closes the existing position before opening the new one — keeping your exposure clean and aligned with the current market direction at all times.
KEY FEATURES
✅ Classic MACD crossover logic — proven over decades of use ✅ Signal confirmed on closed bar — no repainting, no false triggers ✅ Automatic position reversal — closes opposite trade before entering new one ✅ Spread filter — avoids opening trades during high spread conditions ✅ Optional Trailing Stop — lock in profits as the market moves in your favor ✅ Full parameter customization — adapt to any market and timeframe ✅ Works on any symbol — Forex, Indices, Commodities, Crypto ✅ Works on any timeframe — M1 to MN ✅ Lightweight and fast — no unnecessary calculations ✅ Clean, readable code — no black box
INPUT PARAMETERS
MACD Settings:
- Fast EMA Period (default: 12)
- Slow EMA Period (default: 26)
- Signal Period (default: 9)
- Applied Price (default: Close)
Trade Settings:
- Lot Size (default: 0.01)
- Stop Loss in points (default: 250)
- Take Profit in points (default: 1000)
- Max Orders per Signal (default: 1)
- Magic Number (default: 20040001)
- Order Comment
Filters:
- Max Spread in points (default: 30)
Trailing Stop:
- Enable/Disable Trailing Stop (default: false)
- Trailing Stop distance in points (default: 150)
- Trailing Step in points (default: 10)
RISK MANAGEMENT
MACD Crossover Pro includes a built-in margin check before every trade. If your account does not have sufficient free margin to open the position, the EA will skip the trade and wait for the next signal — protecting your account from unexpected errors.
Stop Loss and Take Profit are applied automatically on every order. The optional Trailing Stop allows the EA to follow the price and lock in profits progressively as the trade develops.
RECOMMENDED USAGE
- Timeframes: H1, H4 or Daily for more reliable signals
- Symbols: Major Forex pairs (EURUSD, GBPUSD, USDJPY), Gold (XAUUSD), major indices
- For scalping: M5 or M15 with tighter Stop Loss settings
- Always run a backtest on your specific symbol and timeframe before going live
- Start with the default settings and adjust based on your backtest results
ABOUT THE AUTHOR
Samuel Cavalcanti Costa is a Brazilian trader and developer focused on building reliable, transparent, and practical trading tools for the MetaTrader 5 platform. All products are developed with clean code, full customization, and real trading conditions in mind.
👉 Visit the full product catalog: https://www.mql5.com/en/users/samuelcavalcanticosta/seller
DISCLAIMER
Past performance does not guarantee future results. Trading involves significant risk of loss. Always test thoroughly in a demo account before using real money. The author is not responsible for any financial losses resulting from the use of this product.
