Apac14
Apac14 is an expert advisor (trading robot) for MetaTrader 4 from the Old Kings collection. Its source code uses the Stochastic oscillator. It moves the stop behind price and can size trades from your risk. It has 33 settings, for example Copyright (default www.expertfx.strana.de), Support (default mercury-9@web.de) and Signal Mail (default FALSE). Watch it on a demo account for a while — robots can behave differently with each broker. 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 Apac14
Apac14 is an expert advisor (trading robot) for MetaTrader 4 based on Stochastic. It moves the stop loss behind price (trailing stop / break-even) and can size trades from your balance and risk percent. It has 33 settings, such as Copyright, Support and Signal mail. MQL source code included.
Files in the download: Apache_V1.4.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 |
|---|---|---|
| Copyright | www.expertfx.strana.de | |
| Support | mercury-9@web.de | |
| Signal mail | FALSE | |
| Maximum risk | 3.0 | Risk per trade (percent of balance) |
| Max lots | 10.0 | |
| Slippage | 5 | Maximum slippage allowed when opening a trade |
| Magic number 1 | 552111 | Magic number that tells this EA's orders apart |
| Min take profit 1 | 25 | Take profit distance |
| Trailing stop 1 | 15 | Trailing stop distance or switch |
| Min stop loss 1 | 540 | Stop loss distance |
| Back bar 1 | 15 | |
| L buy 1 | 60 | |
| M period 1 | 14 | Number of bars in the calculation |
| Reserve take 1 | 25 | |
| Reserve stop 1 | 540 | |
| Magic number 2 | 552112 | Magic number that tells this EA's orders apart |
| Min take profit 2 | 30 | Take profit distance |
| Trailing stop 2 | 0 | Trailing stop distance or switch |
| Min stop loss 2 | 380 | Stop loss distance |
| Back bar 2 | 10 | |
| L sell 2 | 45 | |
| M period 2 | 19 | Number of bars in the calculation |
| Reserve take 2 | 30 | |
| Reserve stop 2 | 380 | |
| Magic number 3 | 552113 | Magic number that tells this EA's orders apart |
| Min take profit 3 | 40 | Take profit distance |
| Trailing stop 3 | 30 | Trailing stop distance or switch |
| Min stop loss 3 | 100 | Stop loss distance |
| M period 3 | 14.0 | Number of bars in the calculation |
| L buy 3 | 10.0 | |
| L sell 3 | 90.0 | |
| Reserve take 3 | 40 | |
| Reserve stop 3 | 100 |
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: Trailing Stop & Break-even · Risk & Lot Size · Stochastic · MT4 Expert Advisor · MQL4 Source Code