MACD MTF Ultimate EA
Multi-timeframe MACD with four entry modes and a four-color histogram. Classic momentum, modernized.
An MT5 port of the ChrisMoody CM_MacD_Ult_MTF TradingView script, promoted from indicator to full trading engine. The EA runs MACD on the trading timeframe but derives its signal line and histogram from any higher timeframe you choose, so your executions are synced with the bigger momentum picture. The four-color histogram distinguishes between 'accelerating up', 'decelerating up', 'accelerating down', and 'decelerating down' — each gets its own entry rule. Four user-selectable signal modes (MACD/Signal cross, Zero Line cross, Histogram Flip, Combined), ATR-based risk, bar-close-only execution, and ten tuned preset files cover every timeframe from M1 to MN1.
What makes it different.
- Multi-timeframe MACD — fast EMA, slow EMA, and signal smoothing can all read from a higher timeframe independently of the chart timeframe
- Four-color histogram — lime (accelerating up), green (decelerating up), red (decelerating down), maroon (accelerating down); entries can require specific color transitions
- Four signal modes — MACD/Signal cross, Zero Line cross, Histogram Flip (4-color transition), or Combined (all must agree)
- Bar-close-only execution — no intrabar fills, no repainting
- ATR-based risk engine — stop and take-profit as ATR multiples or fixed points, with volatility-aware position sizing
- Ten tuned preset files — M1 scalper through MN1 long-term, plus one Conservative multi-asset baseline
- Session and day-of-week filter — block Sundays, block post-midnight rollovers, restrict to London+NY overlap
- Trailing stop + break-even — ATR-distance trail and configurable R-multiple move-to-breakeven
- Prop-firm scaffolding — daily loss cap, max-DD kill switch, news blackout, max-trade counter
- On-chart panel — current MACD value, signal, histogram state, active timeframe bias, open R-multiple
Simulated on $10k starting equity at the stated CAGR. Past performance does not guarantee future results. See risk disclosure.
Every input, documented.
| Parameter | Default | What it controls |
|---|---|---|
| MACD_Timeframe | Current | Timeframe the MACD components are calculated on. 'Current' = chart timeframe; anything else = MTF mode. |
| FastEMA | 12 | Fast EMA period for the MACD line. |
| SlowEMA | 26 | Slow EMA period for the MACD line. |
| SignalSmoothing | 9 | Smoothing period for the signal line. |
| SignalMode | Combined | MACDCross, ZeroCross, HistogramFlip, or Combined (all three must agree). |
| RequireHistColor | Acceleration | Acceleration only (lime for longs / maroon for shorts), Any bullish/bearish color, or Off. |
| BarCloseOnly | true | Only evaluate signals on confirmed bar close. Disables intrabar entries. |
| StopLossMode | ATR | ATR multiple or fixed points. |
| ATRStopMult | 1.5 | Stop-loss distance as an ATR multiple. |
| TakeProfitMode | RR | RR (risk-reward multiple of the stop), ATR multiple, or fixed points. |
| TakeProfitRR | 2.0 | Take-profit distance as a multiple of the stop-loss distance. |
| TrailingStop | true | Activate ATR-distance trailing stop once price moves in favor by configured R-multiple. |
| BreakevenAtRR | 1.0 | Move stop to breakeven when price reaches this R-multiple in profit. |
| RiskPerTradePct | 1.0 | Equity % risked per trade. |
| DailyLossCapPct | 3.0 | Daily equity loss cap — halts trading when hit. |
| MaxDDCapPct | 10.0 | Global kill switch based on drawdown from equity peak. |
| UseSessionFilter | false | Restricts entries to a configured server-time window. |
| NewsBlackoutMin | 15 | Minutes before and after high-impact news when no new entries will fire. |
| MagicNumber | 20260425 | Per-instance identifier for multi-chart operation. |
Full parameter reference in the PDF user guide included with your license.
Frequently asked.
Is this just another MACD EA?
No. Standard MACD EAs run MACD on a single timeframe with one crossover rule and call it a day. MACD MTF Ultimate runs MACD components from any higher timeframe you choose, classifies the histogram into four color states, and lets you pick from four distinct signal modes. It is the Swiss-army-knife build of the classic Gerald Appel indicator, tuned for modern execution.
What's the four-color histogram?
Instead of the classic two-color histogram (above zero = green, below = red), ChrisMoody's scheme distinguishes whether momentum is accelerating or decelerating in its current direction. Lime = above zero and rising. Green = above zero but falling. Red = below zero and rising. Maroon = below zero and falling. Entries that require Acceleration only fire on lime (longs) or maroon (shorts) — the strongest momentum states.
Why multi-timeframe?
If you trade M15 but your MACD reads H1, your entries are synced with the higher-timeframe momentum. This cuts whipsaws in ranging M15 conditions because the H1 MACD is slow enough to stay in its regime. The tradeoff: fewer entries. Preset files set sensible MTF pairs (e.g., M15 trading with H1 MACD; H1 trading with H4 MACD).
Does it repaint?
No. Bar-close-only mode is the default. The MTF MACD values are read on the higher timeframe's closed bar, not the developing bar.
Which preset should I start with?
H1 with H4 MACD is the most robust. It has the highest average profit factor across EURUSD, GBPUSD, USDJPY, and XAUUSD in our backtests. M1 is only for ECN brokers with sub-1-pip spreads.
Does it work on gold and indices?
Yes. The H1 and H4 presets work well on XAUUSD, US30, NAS100, and SPX500. Raise the ATR stop multiplier to ~1.8 on indices to account for wider noise.
Is it prop-firm safe?
Yes. The default 1% risk, 3% daily loss cap, and 10% max-DD cap are compatible with FTMO, MFF, Aqua Funded, and The5ers 5%/10% rule-sets.
Does it work on MT4?
No — MT5 only.
Ready to run MACD MTF Ultimate EA?
Lifetime license. All presets included. Direct developer support.