Multi Purpose EA
Multi Purpose EA — a MetaTrader 4 expert advisor (trading robot) kept in the Old Kings collection. It places pending orders, moves the stop behind price and can size trades from your risk. It has 40 settings, for example Lots (default 0.1), Fib Price High (default 1.6156) and Fib Price Low (default 1.5995). Watch it on a demo account for a while — robots can behave differently with each broker. Inside: 7 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 Multi Purpose EA
Multi Purpose EA is an expert advisor (trading robot) for MetaTrader 4. It places pending buy/sell stop or limit orders, moves the stop loss behind price (trailing stop / break-even) and can size trades from your balance and risk percent. It has 40 settings, such as Lots, Fib price high and Fib price low. MQL source code included.
It also works on several symbols at once.
Files in the download: Brief description of EA and Scripts.txt, Fib pending long Script.mq4, Fib pending short Script.mq4, Fib waiting pending order setter EA.mq4, Market long by Steve.mq4, Market short by Steve.mq4, Multi purpose trade manager instructions.pdf, Multi purpose trade manager.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 |
|---|---|---|
| Lots | 0.1 | Trade size in lots |
| Fib price high | 1.6156 | |
| Fib price low | 1.5995 | |
| Auto stop loss | true | Stop loss distance |
| Next fib level | 1.5818 | |
| SL | 0 | Stop loss distance |
| TP | 0 | Take profit distance |
| Trade comment | Fib | Comment written on the orders |
| Magic number | 274693 | Magic number that tells this EA's orders apart |
| Long | true | |
| Short | false | |
| Ins1 | Stop loss and take profit as price | |
| Sl as price | ||
| Tp as price | ||
| Ins2 | Stop loss and take profit as pips | |
| Sl as pips | 0 | |
| Tp as pips | 0 | |
| Management style | You can select more than one option | |
| Manage by magic number | false | Magic number that tells this EA's orders apart |
| Manage by trade comment | false | Comment written on the orders |
| Manage by ticke number | false | |
| Ticket number | ||
| Over ride | ManageAllTrades will override all others | |
| Manage all trades | true | |
| Bl1 | ---------------------------------------- | |
| Management facilities | Select the management facilities you wan | |
| BE | Break even settings | |
| Break even | false | Move the stop to break-even |
| Break even pips | 30 | Move the stop to break-even |
| Break even profit | 2 | Move the stop to break-even |
| JSL | Jumping stop loss settings | |
| Jumping stop | true | |
| Jumping stop pips | 30 | |
| Add bep | true | |
| TSL | Trailing stop loss settings | |
| Trailing stop | false | Trailing stop distance or switch |
| Trailing stop pips | 30 | Trailing stop distance or switch |
| ITSL | Instant trailing stop loss settings | |
| Instant trailing stop | false | Trailing stop distance or switch |
| Instant trailing stop pips | 30 | Trailing stop distance or switch |
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: Pending Orders · Trailing Stop & Break-even · Risk & Lot Size · Multi-Currency · MT4 Expert Advisor · MQL4 Source Code