Dual Stoch Divergences 2.1 (Alerts)
From the Old Kings archive: Dual Stoch Divergences 2.1 (Alerts), an indicator for MetaTrader 4. Its name points to the Stochastic oscillator and alerts. In the code it works with divergence checks and moving averages. It can send alerts. It has 18 settings, for example Length (default 30), Price (default PRICE_CLOSE) and Base Symbol (default GBPUSD). 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 Dual Stoch Divergences 2.1 (Alerts)
Dual Stoch Divergences 2.1 (Alerts) is an indicator for MetaTrader 4 based on Divergence and Moving Average. It can alert you with a pop-up, sound, email or push message. It has 18 settings, such as Length, Price and Base symbol. MQL source code included.
Files in the download: dual stoch - divergences 2.1 (alerts).mq4.
Settings
| Setting | Default | What it does |
|---|---|---|
| Length | 30 | Period |
| Price | PRICE_CLOSE | Price |
| Base symbol | GBPUSD | Symbol to compare to |
| Treshold up | 0.8 | Upper treshlod |
| Treshold dn | 0.2 | Lower treshlod |
| Pre smooth | 8 | Price smoothing period |
| Pre smooth phase | 0 | Price smoothing phase |
| Pos smooth | 0 | Result smoothing period |
| Pos smooth phase | 0 | Result smoothing phase |
| Filter | 0 | Filter to use for filtering (<=0 - no filtering) |
| Filter what | _fltVal | Filter on : |
| Alerts on | true | Alerts true/false? |
| Alerts on current | false | Alerts open bar true/false? |
| Alerts message | true | Alerts pop-up message true/false? |
| Alerts sound | false | Alerts sound true/false? |
| Alerts notify | false | Alerts push notification true/false? |
| Alerts email | false | Alerts email true/false? |
| Sound file | alert2.wav | Sound file |
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: Stochastic · Divergence · Alerts · Moving Average · MT4 Indicator · MQL4 Source Code