Script & EA Forex Copier For Master And Slave
From the Old Kings archive: Script & EA Forex Copier For Master And Slave, an expert advisor (trading robot) for MetaTrader 4. It raises the lot size after losses (martingale — high risk), places pending orders and can size trades from your risk. It has 40 settings, for example system (default slave1sys), Hour Shift GMT (default 0) and Pair Prefix. 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 and a PDF guide. 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 Script & EA Forex Copier For Master And Slave
Script & EA Forex Copier For Master And Slave 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 can size trades from your balance and risk percent. It has 40 settings, such as System, Hour shift gmt and Pair prefix. MQL source code included.
Files in the download: SCRIPT & EA - FOREX COPIER FOR MASTER AND SLAVE\AccountExport-EA.mq4, SCRIPT & EA - FOREX COPIER FOR MASTER AND SLAVE\AccountImport-EA.mq4, SCRIPT & EA - FOREX COPIER FOR MASTER AND SLAVE\GlobalVariable.dll, SCRIPT & EA - FOREX COPIER FOR MASTER AND SLAVE\Readme.txt, SCRIPT & EA - FOREX COPIER FOR MASTER AND SLAVE\TradeCopy Help Guide.pdf.
Trading robots can lose money. Check every setting and test on a demo account before using real funds.
Settings
| Setting | Default | What it does |
|---|---|---|
| System | slave1sys | |
| Hour shift gmt | 0 | Bar shift (0 = current bar) |
| Pair prefix | ||
| Pair suffix | ||
| Reverse trades | FALSE | |
| Offset reverse by spread | TRUE | Maximum spread allowed to trade |
| Offset pips | 2 | |
| Equity filter | FALSE | |
| Equity sma | 3 | |
| Reverse on negative equity | FALSE | |
| History | 10 | |
| Cycle milliseconds | 200 | |
| Slave names | slave1sys,slave2sys | |
| My magic | 0 | Magic number that tells this EA's orders apart |
| Lots | 0.1 | Trade size in lots |
| Lot digits | 1 | |
| Min lots | 0.1 | |
| Max lots | 5.0 | |
| Export lots | TRUE | |
| Export lot multiply | 1.0 | How much the lot size grows after a loss |
| Maximum risk | 2.0 | Risk per trade (percent of balance) |
| Fixed lot | TRUE | Trade size in lots |
| Slippage | 2 | Maximum slippage allowed when opening a trade |
| Max market diff | 20 | |
| Wait4 valid market diff | TRUE | |
| Expire minutes | 5.0 | |
| Number tries | 5 | |
| Stop limit orders | TRUE | |
| Pending sltp | TRUE | |
| Wait4 tpsl | TRUE | |
| Wait4 tpsl mkt close | FALSE | |
| Sl in points | FALSE | |
| Tp in points | FALSE | |
| Tp adjust | 0 | |
| Sl adjust | 0 | |
| Trade buy side | TRUE | |
| Trade sell side | TRUE | |
| Max orders | -1 | Maximum number of open trades |
| Fif omode | FALSE | |
| Fifo lot multiply | 1.0 | How much the lot size grows after a loss |
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: Trade Copier · Martingale · Pending Orders · Risk & Lot Size · MT4 Expert Advisor · MQL4 Source Code