Stochastic Divergence MTF 4
From the Old Kings archive: Stochastic Divergence MTF 4, an indicator for MetaTrader 4. Judging by its name, it is built around the Stochastic oscillator, divergence between price and an oscillator and several timeframes at once. In the code it works with divergence checks and the Stochastic oscillator. It draws arrows on the chart, can send alerts and can read another timeframe. It has 13 settings, for example separator1 (default *** Stochastic Settings ), slow EMA (default 26) and KPeriod (default 8). 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 Stochastic Divergence MTF 4
Stochastic Divergence MTF 4 is an indicator for MetaTrader 4 based on Divergence and Stochastic. 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 13 settings, such as Separator1, Slow ema and K period. MQL source code included.
Files in the download: Stochastic_DivergenceMTF.mq4.
Settings
| Setting | Default | What it does |
|---|---|---|
| Separator1 | *** Stochastic Settings *** | |
| Slow ema | 26 | |
| K period | 8 | Period or timeframe used by the calculation |
| D period | 3 | Period or timeframe used by the calculation |
| Slowing | 3 | |
| Separator2 | *** Indicator Settings *** | |
| Draw indicator trend lines | true | |
| Draw price trend lines | true | |
| Display alert | false | Turn this alert on or off |
| Color bearish trend lines | SaddleBrown | Colour on the chart |
| Color bullish trend lines | MediumSpringGreen | Colour on the chart |
| Separator3 | *** Timeframe Setting (H1=60,H4=240,1440 | |
| Time frame | 15 | Period or timeframe used by the calculation |
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 · Multi-Timeframe (MTF) · Buy/Sell Arrows · Alerts · MT4 Indicator · MQL4 Source Code