Divergence Viewer AD 2
Divergence Viewer AD 2 — a MetaTrader 4 indicator kept in the Old Kings collection. Its name points to divergence between price and an oscillator. Its source code uses divergence checks, MACD, RSI and the Stochastic oscillator. It can send alerts. It has 40 settings, for example indicator Type (default WILLIAM_BLAU), divergence Depth (default 20) and string1 (default The base indicator param). Load it on a demo chart and check whether its signals repaint before trusting them. Inside: 1 indicator file 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 Divergence Viewer AD 2
Divergence Viewer AD 2 is an indicator for MetaTrader 4 based on Divergence, MACD, RSI and Stochastic. It can alert you with a pop-up, sound, email or push message. It has 40 settings, such as I indicator type, I divergence depth and I string1. MQL source code included.
Files in the download: DivergenceViewer_AD.mq4.
Settings
| Setting | Default | What it does |
|---|---|---|
| I indicator type | WILLIAM_BLAU | Base indicator / |
| I divergence depth | 20 | Depth of 2nd ref. point search / 2 . |
| I string1 | The base indicator parameters / | ============================ |
| I bars period1 | 8000 | First calculate period / |
| I bars period2 | 2 | Second calculate period / |
| I bars period3 | 1 | Third calculate period / |
| I ind applied price | PRICE_CLOSE | Applied price of indicator / |
| I ind ma method | MODE_EMA | MA calculate method / |
| I string2 | Price extremum parameters / | ============================ |
| I find ext interval | 10 | Price ext. to indicator ext. / . . . |
| I market applied price | MARKET_APPLIED_PRICE_CLOSE | Applied price of market / |
| I string3 | Custom indicator / | ============================ |
| I custom name | Sentiment_Line | The name of indicator / |
| I custom buffer | 0 | Index of data buffer / |
| I custom param cnt | PARAM_CNT_3 | Amount of ind. parameters / - |
| I custom param1 | 13.0 | Value of the 1st parameter / 1- |
| I custom param2 | 1.0 | Value of the 2nd parameter / 2- |
| I custom param3 | 0.0 | Value of the 3rd parameter / 3- |
| I custom param4 | 0.0 | Value of the 4th parameter / 4- |
| I custom param5 | 0.0 | Value of the 5th parameter / 5- |
| I custom param6 | 0.0 | Value of the 6th parameter / 6- |
| I custom param7 | 0.0 | Value of the 7th parameter / 7- |
| I custom param8 | 0.0 | Value of the 8th parameter / 8- |
| I custom param9 | 0.0 | Value of the 9th parameter / 9- |
| I custom param10 | 0.0 | Value of the 10th parameter / 10- |
| I custom param11 | 0.0 | Value of the 11th parameter / 11- |
| I custom param12 | 0.0 | Value of the 12th parameter / 12- |
| I custom param13 | 0.0 | Value of the 13th parameter / 13- |
| I custom param14 | 0.0 | Value of the 14th parameter / 14- |
| I custom param15 | 0.0 | Value of the 15th parameter / 15- |
| I custom param16 | 0.0 | Value of the 16th parameter / 16- |
| I custom param17 | 0.0 | Value of the 17th parameter / 17- |
| I custom param18 | 0.0 | Value of the 18th parameter / 18- |
| I custom param19 | 0.0 | Value of the 19th parameter / 19- |
| I custom param20 | 0.0 | Value of the 20th parameter / 20- |
| I string4 | Filters / | ============================ |
| I use coincidence charts | OFF | The coincidence of charts / |
| I exclude overlaps | OFF | Exclude overlaps of lines / |
| I string5 | Parameters of displaying / | ============================ |
| I is alert | YES | Alert on divergence? / ? |
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: Divergence · Alerts · MACD · RSI · Stochastic · Moving Average · MT4 Indicator · MQL4 Source Code