Module
Module — a MetaTrader 4 expert advisor (trading robot) kept in the Old Kings collection. It raises the lot size after losses (martingale — high risk), places pending orders and moves the stop behind price. It has 40 settings, for example t0 (default ТП В ВАЛЮТЕ ДЕПОЗИТА), Default Profit (default 10) and t1 (default ************************). Run it in the Strategy Tester and then on a demo account to see how it opens and closes trades. Inside: 2 EA 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 Module
Module is an expert advisor (trading robot) for MetaTrader 4. It increases the lot size after a losing trade (martingale), places pending buy/sell stop or limit orders and moves the stop loss behind price (trailing stop / break-even). It has 40 settings, such as T0, Default profit and T1. MQL source code included.
It also can size trades from your balance and risk percent.
Files in the download: MODULE_v3.4ex.ex4, MODULE_v3.4ex.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 |
|---|---|---|
| T0 | ТП В ВАЛЮТЕ ДЕПОЗИТА | |
| Default profit | 10 | |
| T1 | **************************************** | . |
| T1 0 | УСТАНОВКИ ТРАЛ ПРОФИТА | |
| Tral start | 5 | |
| Tral size | 2 | |
| T4 | **************************************** | . |
| T4 0 | УСТАНОВКИ ПЕРЕКРЫТИЯ ОРДЕРОВ | |
| Type overlap | 2 | |
| Level marg type overlap | 10000 | |
| Part overlap | false | |
| Level marg part overlap | 15000 | |
| Leading order | 4 | |
| Profit persent | 30 | |
| Mult over | 1.3 | |
| Over tral start | 5 | |
| Over tral size | 2 | |
| T5 | **************************************** | . |
| T5 0 | БЕЗУБЫТОК ОРДЕРОВ | |
| Bu series | false | |
| B ustart | 8 | |
| B usize | 2 | |
| T6 | **************************************** | . |
| T6 0 | ПАРАМЕТРЫ ПОДТЯЖКИ СТОПОВЫХ ОРДЕРОВ | |
| Tral stop orders | false | |
| Tral stop | 20 | |
| Tral step | 3 | Distance between orders |
| T7 | **************************************** | . |
| T7 0 | ПАРАМЕТРЫ ОСНОВНОЙ ИНДИКАЦИИ | |
| X axis | 5 | |
| Y axis | 25 | |
| T9 0 | ДОПОЛНИТЕЛЬНЫЕ ПАРАМЕТРЫ | |
| Info | true | |
| Debug | true | |
| Info order profit | false | |
| Magic panel | 888 | Magic number that tells this EA's orders apart |
| Magic num list | 777 0 1 888 | Magic number that tells this EA's orders apart |
| T10 0 | ПАРАМЕТРЫ ДЛЯ ПАНЕЛИ | |
| Start dist | 5 | |
| Default lot | 0.01 |
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 · Pending Orders · Trailing Stop & Break-even · Risk & Lot Size · MT4 Expert Advisor · MQL4 Source Code