Impulse MACD Indicator for MT4 and MT5

Written by Dominic Walsh · Published · Last updated

The impulse macd indicator puts bands around the histogram rather than around price. Its columns come from a standard MACD. Beside them runs a twenty-bar deviation envelope built on those same columns. A break of either edge is an unusually large move for that histogram, and an arrow marks it.

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 5: MACD Hist, Hist BB Upper, Hist BB Lower, BUY, SELL
Alerts popup, push notification, email, sound
Inputs 11

What the Impulse MACD Indicator draws on the chart

Five plots in the pane.

`MACD Hist` fills dodger blue columns.

`Hist BB Upper` runs tomato at width 1.

`Hist BB Lower` runs lime green.

`BUY` uses arrow 233 and `SELL` uses arrow 234.

A level sits at zero across the pane.

  • MACD Hist: histogram, dodger blue, width 2
  • Hist BB Upper: line, tomato, width 1
  • Hist BB Lower: line, lime green, width 1
  • BUY: arrow, lime, width 2, arrow code 233
  • SELL: arrow, red, width 2, arrow code 234
impulse macd indicator: Histogram, band edges and a break arrow on EURUSD H1.
Histogram, band edges and a break arrow on EURUSD H1.

How the Impulse MACD Indicator calculates its values

The columns first

iMACD supplies them. `MACDFast` `12`, `MACDSlow` `26` and `MACDSignal` `9` give a main line and a signal. Subtracting one from the other gives the column height.

Bands on the columns

Now the unusual part. `BBPeriod` `20` averages the last twenty column heights. The deviation of those same heights, times `BBDeviation` `2.0`, sets the two edges.

The break

One test, two directions. A column above the upper edge prints a buy mark. One below the lower edge prints a sell. Everything between the edges is ordinary.

How to read the signals

The edges move with the histogram, not with price.

A break means large for this market lately, not large outright.

Wide bands describe a stretch of big swings.

Narrow bands make a break easy to reach.

Zero still marks the crossing of the two averages inside.

The two pass structure means bands need extra history.

Alert channels in this build: popup, push notification, email and sound, one message per closed bar.

`EnableAlerts` heads the break alerts and arrives true with `EnablePopup`. `EnablePushNotify` buzzes a phone, `EnableEmail` sends mail and `EnableSound` plays `SoundFile`. Those three arrive off, and breaks report on a closed bar.

Every Impulse MACD Indicator input

Core settings

Setting What it does Default
MACDFast Shorter average inside, `12`. 12
MACDSlow Longer average inside, `26`. 26
MACDSignal Average drawn off the main line, `9`. 9
BBPeriod Column heights averaged, `20`. 20
BBDeviation Edge width in deviations, `2.0`. 2.0

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 break, `false`. off
EnableSound (see inputs panel) off
SoundFile Which clip plays, `”alert.wav”`. alert.wav
impulse macd indicator: Inputs panel with MACDFast, BBPeriod and BBDeviation.
Inputs panel with MACDFast, BBPeriod and BBDeviation.

Settings that fit your chart

The bands adapt themselves, so the settings travel between markets. EURUSD H1 is the reference chart. Breaks come once or twice a day there. On M5 they arrive with every burst. On H4 each one covers a session.

When the Impulse MACD Indicator fails

The bands lag, because they average past columns.

After a quiet stretch the edges sit too close.

A break says size, never direction of the next move.

Warm-up needs both the MACD periods and twenty more bars.

Copy the compiled Impulse MACD 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 Impulse MACD Indicator for MT4 and MT5

The zip holds the compiled Impulse MACD 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.

  • 1,380+ indicators
  • MT4 and MT5 files
  • No spam, unsubscribe any time

FAQ

Do the bands read price or the MACD Hist plot?

The histogram, and that is the whole idea. `BBPeriod` `20` averages the last twenty column heights rather than twenty closes, so the edges describe what counts as a big column for this pane.

Why does BBDeviation 2.0 matter?

It sets how far out each edge sits. Two deviations means only unusually tall columns reach it. Lowering it produces far more marks, most of them ordinary swings.

Are MACDFast and MACDSlow the standard values?

Yes, twelve and twenty-six with a nine-bar signal. Those are the published figures, and nothing here changes them. The impulse part of the name refers to the bands, not to the MACD itself.

What does a BUY arrow actually say?

That the current column cleared the upper band edge. It is a size statement about momentum, and it carries no view on how much further price runs.

Are results guaranteed?

No. Trading involves risk. Results are not guaranteed; past performance is not indicative of future results. Use the Impulse MACD Indicator as one input. Always backtest before trading live.

Category: this is part of our Oscillators collection. Also, truly, browse more Oscillators for MetaTrader, or explore every MT4 indicator and MT5 indicator on the site.

External references

Dominic Walsh - Forex trader and MT4/MT5 developer

About the author

Written by Dominic Walsh, a Forex trader and MT4/MT5 indicator, Expert Advisor and script developer. Every tool on forexmt4systems.com is tested on live charts before release and ships with ready-to-use compiled MT4 (.ex4) and MT5 (.ex5) files. Learn more about the trader and developer behind this site.

How we build, test and correct every tool: Editorial & Testing Policy. Trading carries risk; see the disclaimer.

Leave a Comment