Zaharov Andrey
From the Old Kings archive: Zaharov Andrey, an expert advisor (trading robot) for MetaTrader 4. In the code it works with the Stochastic oscillator and ADX. It raises the lot size after losses (martingale — high risk), works with a grid of orders and has a trading-hours filter. It has 40 settings, for example Check Bars Cross (default 3), lot (default M ) and Max Lot (default 10000). Run it in the Strategy Tester and then on a demo account to see how it opens and closes trades. Inside: 1 EA 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.
Expert advisor · MT4 · v1.0 · Free
About Zaharov Andrey
Zaharov Andrey is an expert advisor (trading robot) for MetaTrader 4 based on Stochastic and ADX. It increases the lot size after a losing trade (martingale), opens a grid of orders at fixed price steps and trades only in the hours you set (time filter). It has 40 settings, such as Check bars cross, Lot and Max lot. MQL source code included.
It also can size trades from your balance and risk percent.
Files in the download: ZaharovAndrey_25.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 |
|---|---|---|
| Check bars cross | 3 | |
| Lot | M | |
| Max lot | 10000 | |
| Tpall | ||
| Use tpall | false | |
| TPALL | 150 | |
| Doliv | ||
| Dolivka | false | |
| Dolivka adx | false | ADX |
| Pipstep | 50 | Distance between orders |
| Pipstep exponent | 0.5 | How much the lot size grows after a loss |
| Set sl | true | |
| Use tral dolivki1 | false | |
| Use tral dolivki2 | true | |
| Martin | ||
| Martin | false | |
| Martin signal | false | |
| Pipstep m | 50 | Distance between orders |
| Pipstep exponent m | 1.5 | How much the lot size grows after a loss |
| Lot exponent | 1.5 | How much the lot size grows after a loss |
| T pmartin | 500 | ( ) |
| Buys | ++++++++++++++++++ | |
| N1 | 1 | |
| ON1 | true | |
| Revers1 | false | |
| Lot1 | 0.1 | |
| Risk1 | 0 | % 0 - off |
| TP1 | 100 | , 0 |
| SL1 | 50 | , 0 |
| Bu level1 | 50 | - , 0 |
| B usize1 | 2 | |
| Profit traling1 | True | |
| Traling stop1 | 20 | , 0 |
| Close revers1 | true | |
| Use d mclose1 | false | |
| Per adx1 | 6 | ADX period |
| Lvl1 | 9 | level |
| Time1 | ||
| Variant11 | true | |
| Start hour1 | 0 | c |
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: Martingale · Grid · Time Filter · Risk & Lot Size · Stochastic · ADX · MT4 Expert Advisor · MQL4 Source Code