EA The One 4 2
EA The One 4 2 — a MetaTrader 4 expert advisor (trading robot) kept in the Old Kings collection. Its source code uses moving averages. It raises the lot size after losses (martingale — high risk), places pending orders and moves the stop behind price. It has 27 settings, for example default lot (default 0.01), risk (default 1.0) and Max Spread (default 30.0). 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.0 · Free
About EA The One 4 2
EA The One 4 2 is an expert advisor (trading robot) for MetaTrader 4 based on Moving Average. It increases the lot size after a losing trade (martingale), places pending buy/sell stop or limit orders and moves the stop loss behind price (trailing stop / break-even). It has 27 settings, such as Default lot, Risk and Max spread. MQL source code included.
It also can size trades from your balance and risk percent and looks for price differences (arbitrage).
Files in the download: EA_TheOne.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 |
|---|---|---|
| Default lot | 0.01 | |
| Risk | 1.0 | Risk per trade (percent of balance) |
| Max spread | 30.0 | Maximum spread allowed to trade |
| Mm | TRUE | |
| Loto | 0.1 | |
| Lot m | 10.0 | |
| Stop loss | 20 | Stop loss distance |
| Take profit | 80 | Take profit distance |
| Minimum use stop level | 10.0 | |
| Volatility settings | 23 | |
| Use dynamic volatility limit | TRUE | |
| Volatility multiplier | 125.0 | How much the lot size grows after a loss |
| Volatility limit | 180.0 | |
| Use volatility percentage | TRUE | |
| Ecn mode | TRUE | |
| Trading settings | 0012 | |
| Max execution | 0 | |
| Max execution minutes | 5 | |
| Add price gap | 0.0 | |
| Trailing start | 1.0 | Trailing stop distance or switch |
| Commission | 0.0 | |
| Volatility percentage limit | 0.0 | |
| Use indicator set | 134 | |
| Use indicator switch | 3 | |
| Bb deviation | 1.5 | |
| Envelopes deviation | 0.07 | |
| Order expire seconds | 3600 |
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 · Trailing Stop & Break-even · Risk & Lot Size · Arbitrage · Moving Average · MT4 Expert Advisor · MQL4 Source Code