Swiss Army EA 2
This Old Kings expert advisor (trading robot) for MetaTrader 4 is called Swiss Army EA 2. It can hold buy and sell positions together, places pending orders and moves the stop behind price. It has 40 settings, for example id (default ==== Identity Settings =), Symbol Specific (default TRUE) and Magic Num Specific (default FALSE). 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 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 Swiss Army EA 2
Swiss Army EA 2 is an expert advisor (trading robot) for MetaTrader 4. It can hold buy and sell positions at the same time (hedging), 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 Id, Symbol specific and Magic num specific. MQL source code included.
It also trades only in the hours you set (time filter) and can size trades from your balance and risk percent.
Files in the download: SwissArmyEA_intro.pdf, Swiss_Army_EA_v1.51_Features.pdf, Swiss_Army_EA_v1.51~.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 |
|---|---|---|
| Id | ==== Identity Settings ==== | |
| Symbol specific | TRUE | |
| Magic num specific | FALSE | Magic number that tells this EA's orders apart |
| Magic number | 9999 | Magic number that tells this EA's orders apart |
| Selective scan | FALSE | |
| Require all conditions | FALSE | |
| Cond | ==== Conditions: General ==== | |
| Immediate activation | FALSE | |
| Time activation | FALSE | |
| Time hour | 23 | |
| Time minute | 55 | |
| Minimum free margin | 0 | |
| Free margin less than | FALSE | |
| Pro cond | ==== Conditions: Profit-Based ==== | |
| Max profit dollar | 0 | |
| Max profit pip | 0 | |
| Max profit percent | 0 | |
| Loss cond | ==== Conditions: Loss-Based ==== | |
| Max loss dollar | 0 | |
| Max loss pip | 0 | |
| Max loss percent | 0 | |
| Action | ==== Actions: General ==== | |
| Close orders | FALSE | |
| Hedge orders | FALSE | |
| Mod action | ==== Actions: Modify Orders ==== | |
| Set take profit | FALSE | Take profit distance |
| Set stoploss | FALSE | Stop loss distance |
| Remove take profit | FALSE | Take profit distance |
| Remove stoploss | FALSE | Stop loss distance |
| Action | ==== Action Inputs ==== | |
| Take profit | 0 | Take profit distance |
| Stoploss | 0 | Stop loss distance |
| Otype | ==== Order Types: Standard ==== | |
| Allow all types | FALSE | |
| Buy active | FALSE | |
| Sell active | FALSE | |
| Buy stop | FALSE | |
| Sell stop | FALSE | |
| Buy limit | FALSE | |
| Sell limit | FALSE |
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: Hedging · Pending Orders · Trailing Stop & Break-even · Time Filter · Risk & Lot Size · MT4 Expert Advisor · MQL4 Source Code