Forex MACD Average MTF Alerts Divergence Indicator
Forex MACD Average MTF Alerts Divergence Indicator is an indicator for MetaTrader 4 from the Old Kings collection. Its name points to MACD (moving average convergence / divergence), divergence between price and an oscillator and alerts. Its source code uses divergence checks, moving averages and ATR. It draws arrows on the chart, can send alerts and can read another timeframe. It has 40 settings, for example Time Frame (default Current time frame), Price (default 8) and Fast Period (default 12). Load it on a demo chart and check whether its signals repaint before trusting them. Inside: 2 indicator files with source code (.mq4) you can open and edit in MetaEditor. Old Kings are classic community tools shared as-is. Not tested by PolyMaria. Try it on a demo account first. Are you the author of this tool? Message us on Telegram (@abumarket_support) and we will credit you or take it down.
Indicator · MT4 · v1.0 · Free
About Forex MACD Average MTF Alerts Divergence Indicator
Forex MACD Average MTF Alerts Divergence Indicator is an indicator for MetaTrader 4 based on Divergence, Moving Average and ATR. It draws buy and sell arrows on the chart, can alert you with a pop-up, sound, email or push message and can show data from another timeframe (MTF). It has 40 settings, such as Time frame, Price and Fast period. MQL source code included.
Files in the download: average MACD - mtf 7 alerts9divergence.ex4, average MACD - mtf 7 alerts9divergence.mq4, installation manual.txt.
Settings
| Setting | Default | What it does |
|---|---|---|
| Time frame | Current time frame | Period or timeframe used by the calculation |
| Price | 8 | |
| Fast period | 12 | Period or timeframe used by the calculation |
| Slow period | 26 | Period or timeframe used by the calculation |
| Signal period | 9 | Period or timeframe used by the calculation |
| Method | 2 | |
| Divergence visible | true | |
| Divergence on values visible | true | |
| Divergence on chart visible | true | |
| Divergence bullish color | LimeGreen | Colour on the chart |
| Divergence bearish color | OrangeRed | Colour on the chart |
| Divergence unique id | Macd diverge1 | |
| Histogram on slope | true | |
| Interpolate | true | |
| Level ob3 | 0.0050 | |
| Level ob2 | 0.0025 | |
| Level ob1 | 0.0010 | |
| Level os1 | -0.0010 | |
| Level os2 | -0.0025 | |
| Level os3 | -0.0050 | |
| Alerts on | true | Turn this alert on or off |
| Alerts on zero cross | false | Turn this alert on or off |
| Alerts on macd signal cross | true | Turn this alert on or off |
| Alerts on ob level3 cross | false | Turn this alert on or off |
| Alerts on ob level2 cross | false | Turn this alert on or off |
| Alerts on ob level1 cross | false | Turn this alert on or off |
| Alerts on os level1 cross | false | Turn this alert on or off |
| Alerts on os level2 cross | false | Turn this alert on or off |
| Alerts on os level3 cross | false | Turn this alert on or off |
| Alerts on current | false | Turn this alert on or off |
| Alerts message | true | Turn this alert on or off |
| Alerts email | false | Turn this alert on or off |
| Alerts push notification | FALSE | Turn this alert on or off |
| Alerts sound | true | Turn this alert on or off |
| Sound file up | alert.wav | Turn this alert on or off |
| Sound file down | alert2.wav | Turn this alert on or off |
| Arrows visible | false | |
| Arrows identifier | macd Arrows1 | |
| Arrows displacement | 1.0 | |
| Arrows up color | LimeGreen | Colour on the chart |
How to install
- Download the ZIP from your PolyMaria library and unzip it.
- In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Indicators.
- Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
- Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
- Drag the indicator from the Navigator onto a chart and adjust the settings.
Tags: MACD · Divergence · Multi-Timeframe (MTF) · Alerts · Buy/Sell Arrows · Moving Average · ATR · MT4 Indicator · MQL4 Source Code