Forex MACD Average Diver Alert Indicator
This Old Kings indicator for MetaTrader 4 is called Forex MACD Average Diver Alert Indicator. Judging by its name, it is built around MACD (moving average convergence / divergence) and alerts. In the code it works with 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), Fast Period (default 12) and Slow Period (default 26). Try it on a demo chart first and note how its lines or arrows react to new bars. 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 Diver Alert Indicator
Forex MACD Average Diver Alert 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, Fast period and Slow period. MQL source code included.
Files in the download: installation manual.txt, MACD Averages Diver-Level-Arrow MTF_Alert [18MA].ex4, MACD Averages Diver-Level-Arrow MTF_Alert [18MA].mq4.
Settings
| Setting | Default | What it does |
|---|---|---|
| Time frame | Current time frame | Period or timeframe used by the calculation |
| 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 | |
| Price | 8 | |
| Divergence visible | false | |
| 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 | false | 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 sound | true | Turn this alert on or off |
| Alerts email | false | 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 |
| Arrows dn color | Red | Colour on the chart |
| Arrows on zero cross | false | |
| Arrows on macd signal cross | true |
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 · Alerts · Buy/Sell Arrows · Divergence · Multi-Timeframe (MTF) · Moving Average · ATR · MT4 Indicator · MQL4 Source Code