Forex All In One Divergence Indicator
Forex All In One Divergence Indicator — a MetaTrader 4 indicator kept in the Old Kings collection. As the name suggests, the idea behind it is divergence between price and an oscillator. Its source code uses divergence checks, MACD, RSI and the Stochastic oscillator. It draws arrows on the chart and can send alerts. It has 40 settings, for example Osc (default 29), TH (default true) and TL (default true). Try it on a demo chart first and note how its lines or arrows react to new bars. 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 Forex All In One Divergence Indicator
Forex All In One Divergence Indicator is an indicator for MetaTrader 4 based on Divergence, MACD, RSI and Stochastic. It draws buy and sell arrows on the chart and can alert you with a pop-up, sound, email or push message. It has 40 settings, such as Osc, TH and TL. MQL source code included.
Files in the download: all-in-one-divergence-indicator.mq4, installation manual.txt.
Settings
| Setting | Default | What it does |
|---|---|---|
| Osc | 29 | |
| TH | true | |
| TL | true | |
| Trend | true | |
| Convergen | true | |
| Complect | 1 | |
| Back steph | 0 | number of steps back (h) |
| Back stepl | 0 | the number of steps ago l |
| Back step | 0 | number of steps backward |
| Q steps | 1 | the number of steps, not more than 3 |
| Lev d pl | 5 | level of Demark points; 2 = central bar is above (below) the 2 bars to the left |
| Lev d pr | 1 | level of Demark points; 2 = central bar is above (below) the 2 bars on the right |
| Period | 8 | Period or timeframe used by the calculation |
| Ma method | 0 | |
| Ma shift | 0 | Bar shift (0 = current bar) |
| Applied price | 4 | |
| Mode | 0 | |
| Fast ema period | 12 | Period or timeframe used by the calculation |
| Slow ema period | 26 | Period or timeframe used by the calculation |
| Signal period | 9 | Period or timeframe used by the calculation |
| Kperiod | 13 | Period or timeframe used by the calculation |
| Dperiod | 5 | Period or timeframe used by the calculation |
| Slowing | 3 | |
| Price field | 0 | |
| T3 period | 1 | Period or timeframe used by the calculation |
| B | 0.7 | |
| Show bars | 1000 | If = 0, then the indicator is displayed for all graphics |
| Left strong | false | |
| Right strong | true | |
| Trend down | true | |
| Trend up | true | |
| Trend line | true | false = trend lines will not |
| Handy colour | true | Colour on the chart |
| Highline | Red | |
| Lowline | DeepSkyBlue | |
| Channel line | false | true = build a parallel trend lines feeds |
| Trend | 0 | 1 = only for UpTrendLines, -1 = only for DownTrendLines, 0 = for all TrendLines |
| Channel | false | |
| Regression | true | |
| Ray h | 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: Divergence · Buy/Sell Arrows · Alerts · MACD · RSI · Stochastic · MT4 Indicator · MQL4 Source Code