Close After Xpips EA.mq4 2 3
From the Old Kings archive: Close After Xpips EA.mq4 2 3, an expert advisor (trading robot) for MetaTrader 4. It raises the lot size after losses (martingale — high risk). It has 8 settings, for example Close After Xpips (default 15), Close In Profit (default true) and Close In Loss (default false). 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 Close After Xpips EA.mq4 2 3
Close After Xpips EA.mq4 2 3 is an expert advisor (trading robot) for MetaTrader 4. It increases the lot size after a losing trade (martingale). It has 8 settings, such as Close after xpips, Close in profit and Close in loss. MQL source code included.
Files in the download: CloseAfterXpips EA (1).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 |
|---|---|---|
| Close after xpips | 15 | |
| Close in profit | true | |
| Close in loss | false | |
| Magic number | 0 | 0:manual trades |
| Filter by magic number | false | Magic number that tells this EA's orders apart |
| Filter by symbol | false | |
| Print to journal | true | |
| Send test trades on backtest | false | false;//should send one long and one short trade when backtester starts |
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 · MT4 Expert Advisor · MQL4 Source Code