Correlation Martingale EA V1.01
From the Old Kings archive: Correlation Martingale EA V1.01, an expert advisor (trading robot) for MetaTrader 4. Judging by its name, it is built around martingale money management (bigger lots after a loss — high risk). The file name marks it as version 1.01. It raises the lot size after losses (martingale — high risk), places pending orders and has a trading-hours filter. It has 23 settings, for example comment (default EA), magic (default 1234) and moneymanagement (default Money Management). Before any live use, test it on a demo account and check its lot size, stop loss and trading hours. 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.01 · Free
About Correlation Martingale EA V1.01
Correlation Martingale EA V1.01 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 trades only in the hours you set (time filter). It has 23 settings, such as Comment, Magic and Moneymanagement. MQL source code included.
It also can size trades from your balance and risk percent.
Files in the download: Correlation Martingale EA v1.01.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 |
|---|---|---|
| Comment | EA | comment to display in the order |
| Magic | 1234 | magic number required if you use different settings on a same pair, same timeframe |
| Moneymanagement | Money Management | |
| Lots | 1 | lots size |
| Mm | false | enable risk management |
| Risk | 1 | risk in percentage of the account |
| Minlot | 0.01 | minimum lots size |
| Maxlot | 50 | maximum lots size |
| Lotdigits | 2 | |
| Ordersmanagement | Order Management | |
| Reversesignals | false | reverse the signals, long if short, short if long |
| Stoploss | 0 | stop loss |
| Takeprofit | 0 | take profit |
| Entrylogics | Entry Logics | |
| Onlybuy | false | |
| Symbol1 | EURUSD | |
| Factorlot1 | 1 | |
| Symbol2 | USDCHF | |
| Factorlot2 | 1.28 | |
| Target | 100 | dollar |
| Delayminutes | 360 | |
| Multiplier | 1.667 | How much the lot size grows after a loss |
| Shift | 0 | Bar shift (0 = current bar) |
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 · Time Filter · Risk & Lot Size · MT4 Expert Advisor · MQL4 Source Code