Generic V13.19.5 2 2
This Old Kings expert advisor (trading robot) for MetaTrader 4 is called Generic V13.19.5 2 2. The file name marks it as version 13.19.5. It raises the lot size after losses (martingale — high risk), places pending orders and moves the stop behind price. It has 40 settings, for example Settings 10 (default 1. O R D E R S I Z E), Settings 11 (default 1.1. General Lot Settin) and Fixed Lot (default True). 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 · v13.19.5 · Free
About Generic V13.19.5 2 2
Generic V13.19.5 2 2 is an expert advisor (trading robot) for MetaTrader 4. 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 40 settings, such as Settings 10, Settings 11 and Fixed lot. MQL source code included.
It also trades only in the hours you set (time filter), can size trades from your balance and risk percent and has a news filter.
Files in the download: Generic v13 (1).19.5.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 |
|---|---|---|
| Settings 10 | 1. O R D E R S I Z E S E T T I N | |
| Settings 11 | 1.1. General Lot Settings | |
| Fixed lot | True | / |
| Lots | 0.1 | $1000 |
| Lot multiple | True | How much the lot size grows after a loss |
| Max orders | 2 | Maximum number of open trades |
| Order step distance | 350 | Distance between orders |
| Order total profit | 25 | |
| Settings 20 | 2. O R D E R C L O S E C O N D I | |
| Settings 21 | 2.1. Stop Loss and Take Profit settings | |
| Stop loss | 550 | Stop Loss . |
| Take profit | 550 | Take Profit . |
| Settings 22 | 2.2. Close by Order holding time limit | |
| Close by time limit | True | , |
| Time limit | 15 | ( ) |
| Time limit min profit | 100 | |
| Settings 23 | 2.3. Close by Bollinger Bands | |
| Close by bb | True | , |
| Bb min profit | 75 | ( ) |
| Settings 24 | 2.4. Close by Commodity Channel Index | |
| Close by cci | False | Commodity Channel Index |
| Settings 25 | 2.5. Close by Moving Average of Oscilla | |
| Close by os ma | True | , |
| Os ma min profit | 75 | ( ) |
| Settings 26 | 2.6. Close by Breakeven | |
| Close by breakeven | False | ( Traiiling Stop) |
| Be init level | 70 | BE_InitLevel - Stop Loss |
| Be profit | 10 | Stop Loss BE_Profit |
| Settings 27 | 2.7. Close by Trailling Stop | |
| Close by trail | False | Trailling Stop |
| Trl dist 1 | 180 | () ( MarketInfo(Symbol(),MODE_STOPLEVEL), Trl_dist_2 Trl_dist_3) |
| Trl dist 2 | 40 | ( ) Level_1 |
| Trl dist 3 | 25 | ( ) Level_2 |
| Settings 30 | 3. O R D E R O P E N C O N D I T | |
| Settings 31 | 3.1. FIRST ORDER - Indicators' signals | |
| Open by bb 1 | True | BB |
| Open by cci 1 | False | I |
| Open by ma 1 | True | MA |
| Open by os ma 1 | False | OsMA |
| Spike filter 1 | 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: Martingale · Pending Orders · Trailing Stop & Break-even · Time Filter · Risk & Lot Size · News Trading · MT4 Expert Advisor · MQL4 Source Code