MDV
From the Old Kings archive: MDV, an expert advisor (trading robot) for MetaTrader 4. In the code it works with the Stochastic oscillator and moving averages. It places pending orders and handles several symbols. It has 40 settings, for example Use Val Presets (default true), T1 (default ) and Periods Kanal (default 0). Run it in the Strategy Tester and then on a demo account to see how it opens and closes trades. Inside: 4 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.
Expert advisor · MT4 · v1.0 · Free
About MDV
MDV is an expert advisor (trading robot) for MetaTrader 4 based on Stochastic and Moving Average. It places pending buy/sell stop or limit orders and works on several symbols at once. It has 40 settings, such as Use val presets, T1 and Periods kanal. MQL source code included.
Files in the download: log.mq4, MDS_Envelopes.mq4, MDS_PriceChannel.mq4, MDS_TraderExp_v0_5.mq4.
Trading robots can lose money. Check every setting and test on a demo account before using real funds.
Settings
| Setting | Default | What it does |
|---|---|---|
| Use val presets | true | |
| T1 | ||
| Periods kanal | 0 | Number of bars in the calculation |
| Dev kanal | 1.0 | |
| Type kanal | 0 | 0- /, 1 - Close |
| T2 | ||
| Periods trend | 0 | Number of bars in the calculation |
| Dev trend | 1.0 | |
| Type trend | 0 | 0- /, 1 - Close |
| Channel period | 22 | Period or timeframe used by the calculation |
| ID | 100 | |
| TF | 1440 | Period or timeframe used by the calculation |
| Bars signal valid | 10 | |
| Zazor spr pc | 3 | |
| Zazor spr pc pr | 3 | |
| Zazor spr env | 3 | |
| Zazor spr env t | 3 | |
| Dev kanal | 1.0 | |
| Type kanal | 0 | |
| Dev trend | 1.0 | |
| Type trend | 0 | |
| T3 | --- MA Params --- | |
| Zazor spr ma ot | 3 | |
| Ma period | 22 | Period or timeframe used by the calculation |
| T5 | --- Test Params --- | |
| Use test mode | false | |
| Use chan per | false | |
| Use zazor spr pc | false | |
| T6 | --- Trade Params --- | |
| Pos support | true | |
| Trade pc | 1 | |
| Trade pc 3 p | 1 | |
| Trade pc pr | 1 | |
| Trade pc pr 3 p | 1 | |
| Trade ma ot | 1 | |
| Trade ma ot 3 p | 1 | |
| Trade env | 1 | |
| Trade env 3 p | 1 | |
| Trade env t | 1 | |
| Trade env t 3 p | 1 |
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 → Experts.
- 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 expert advisor from the Navigator onto a chart, check the settings, allow Algo/Auto Trading and press OK.
- Test it first on a demo account or in the Strategy Tester.
Tags: Pending Orders · Multi-Currency · Stochastic · Moving Average · MT4 Indicator · MQL4 Source Code