The all macd adaptive mtf indicator gives you the complete study rather than a partial view. Histogram, main line and signal line all appear. What the name promises beyond that is worth checking against the code.
This build ships as a compiled .ex4 for MT4 and .ex5 for MT5; the screenshots below come from EURUSD H1.
| Platforms | MT4 (.ex4) + MT5 (.ex5) |
|---|---|
| Chart window | Separate window (levels 0) |
| Plots | 3: Histogram, MACD, Signal |
| Alerts | popup, push notification, email, sound |
| Inputs | 9 |
What the All MACD Adaptive MTF Indicator draws on the chart
Three plots and one reference.
A slate gray `Histogram` fills the pane.
A deep sky blue `MACD` line carries the main reading.
An orange red `Signal` line follows it.
A dotted zero line runs across the middle.
Nothing gets drawn on the price chart itself.
- Histogram: histogram, slate gray, width 3
- MACD: line, deep sky blue, width 2
- Signal: line, orange red, width 1

How the All MACD Adaptive MTF Indicator calculates its values
Textbook values
Nothing is unusual here. iMACD runs at `FastEma` `12`, `SlowEma` `26` and `SignalEma` `9` on the close. Those are the figures Gerald Appel published. The terminal does the arithmetic and this file reads the result.
The gap
That is the histogram. Subtracting the signal from the main line gives the column height. So it reaches zero exactly when the two lines cross. Columns above zero mean the main line leads.
About the name
It oversells. No timeframe input exists, and no adaptive period logic appears. Every reading comes from the chart you have open, at fixed settings. Nothing here reads a second timeframe.
How to read the signals
Column height shows how far the lines have parted.
Shrinking columns mean they are closing in.
Zero is where the two averages inside are equal.
All three plots share one calculation.
A cross above zero and a cross below zero are different events.
The pane scale moves with the market, so height is only relative.
Alert channels in this build: popup, push notification, email and sound, one message per closed bar.
`EnableAlerts` controls every crossing alert and ships true with `EnablePopup`. `EnablePushNotify` buzzes a phone, `EnableEmail` sends mail and `EnableSound` plays `SoundFile`. Those three sit off.
Every All MACD Adaptive MTF Indicator input
Core settings
| Setting | What it does | Default |
|---|---|---|
FastEma |
Shorter average inside, `12`. | 12 |
SlowEma |
Longer average inside, `26`. | 26 |
SignalEma |
Average drawn off the main line, `9`. | 9 |
Alert settings
| Setting | What it does | Default |
|---|---|---|
EnableAlerts |
Master switch, `true`. | on |
EnablePopup |
Box in the terminal, `true`. | on |
EnablePushNotify |
Buzz on a phone, `false`. | off |
EnableEmail |
Mail on a cross, `false`. | off |
EnableSound |
Cue on a cross, `false`. | off |
SoundFile |
Which clip plays, `”alert.wav”`. | alert.wav |

Settings that fit your chart
The 12, 26 and 9 combination came from daily bars. EURUSD H1 is the reference chart. Crossings arrive every day or two there. On M5 they come constantly. On daily bars they are worth waiting for.
When the All MACD Adaptive MTF Indicator fails
The name promises behaviour the code lacks.
Three lagging averages put every crossing behind price.
In a range the lines cross with nothing behind it.
A quiet session gives columns too small to read.
Copy the compiled All MACD Adaptive MTF Indicator file into your MQL4/Indicators folder, and the MT5 build into MQL5/Indicators, then restart the terminal and drag it onto a chart. The step-by-step guide with screenshots is at how to install MT4 and MT5 indicators.
Download the All MACD Adaptive MTF Indicator for MT4 and MT5
The zip holds the compiled All MACD Adaptive MTF Indicator build for MT4 and MT5, plus a short README. Compiled files only, no source. Enter your email below and the download link arrives in your inbox.
Download this indicator free
Enter your email and the file is yours. You also get the full MT4 and MT5 library.
FAQ
Does the MTF part of the name do anything?
No. There is no timeframe input and no higher-timeframe lookup in the source. Every value comes from the chart you have open, which is worth knowing before you hunt for a setting.
Is anything about SignalEma adaptive?
No. All three periods are fixed inputs that you set by hand. Nothing in the code shifts them from market conditions, whatever the word adaptive in the name implies.
What does the Histogram add over the lines?
Convergence at a glance. Column height is the gap between the two lines, so a shrinking histogram shows them closing well before they actually cross.
Why do FastEma and SlowEma meet at zero?
Because zero is where the fast and slow averages inside are equal. The main line crossing it is the same event as a 12 and 26 crossover on the price chart.
Are results guaranteed?
No. Trading involves risk. Results are not guaranteed; past performance is not indicative of future results. Use the All MACD Adaptive MTF Indicator as one input. Always backtest before trading live.
Category: this is part of our Oscillators collection. Next, plainly, browse more Oscillators for MetaTrader, or explore every MT4 indicator and MT5 indicator on the site.
External references
- Learn more about the underlying method in imacd (MACD) at the MQL5 Documentation.
- For wider market background, see MACD on Wikipedia.
