Ilan Trend Racing 3.2ME
This Old Kings expert advisor (trading robot) for MetaTrader 4 is called Ilan Trend Racing 3.2ME. Its name points to following the trend. In the code it works with moving averages, CCI and ADX. It raises the lot size after losses (martingale — high risk), works with a grid of orders and can size trades from your risk. It has 40 settings, for example Set1 (default ===== =====), Lots (default 0.01) and Lot Exponent (default 1.4). 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 and 2 settings files (.set). 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 Ilan Trend Racing 3.2ME
Ilan Trend Racing 3.2ME is an expert advisor (trading robot) for MetaTrader 4 based on Moving Average, CCI and ADX. It increases the lot size after a losing trade (martingale), opens a grid of orders at fixed price steps and can size trades from your balance and risk percent. It has 40 settings, such as Set1, Lots and Lot exponent. MQL source code included.
Files in the download: Ilan_TrendRacing 3.2 ME.mq4, tr3.2_gbpusd_2000_4you_cent.set, tr3.2_gbpusd_2000_insta_cent.set.
Trading robots can lose money. Check every setting and test on a demo account before using real funds.
Settings
| Setting | Default | What it does |
|---|---|---|
| Set1 | ===== ===== | |
| Lots | 0.01 | Trade size in lots |
| Lot exponent | 1.4 | How much the lot size grows after a loss |
| Take profit | 8.0 | Take profit distance |
| Slip | 5 | ( ) )) |
| Max trades | 30 | ( "0" ) |
| Trade stop | 0.0 | , / (0.1 - 10% .. ) |
| Magic number b | 777 | , "" |
| Magic number s | 555 | , "" |
| Set2 | ===== ===== | |
| Set3 | ||
| First pip step | 6.0 | Distance between orders |
| Long pip step | 100 | , , EconomProfil FirstEconomOrd |
| Pip step exponent | 1.8 | How much the lot size grows after a loss |
| Set4 | ===== ===== | |
| Info | True | |
| Zero | True | |
| Bar control | True | |
| Debug | False | |
| Econom profil | False | |
| First econom ord | 4 | , . , 4, 4, 5, 6 ... 1 . |
| Overlapping | True | |
| Leading order | 4 | . |
| Fl persent | 7 | |
| Ma set | ===== ===== | |
| Ma time frame | 0 | 0 ()- ; 1 - PERIOD_M1; 5 - PERIOD_M5; 15 - PERIOD_M15; 30 - PERIOD_M30; |
| Ma1 period | 7 | Period or timeframe used by the calculation |
| Ma1 shift | 0 | Bar shift (0 = current bar) |
| Ma2 period | 21 | Period or timeframe used by the calculation |
| Ma2 shift | 0 | Bar shift (0 = current bar) |
| Delta set | ===== ===== | |
| Comm1 | , 0 - 5 4 | |
| Comm2 | ||
| Del fx | 2 | " " |
| Comm3 | = = | |
| Comm4 | ===== 1 5 ===== | |
| Ma sf | 1 | "-" |
| Comm5 | == CCI === | |
| Cci kontr | True | CCI |
| Cci lim | 170.0 | CCI |
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: Trend · Martingale · Grid · Risk & Lot Size · Moving Average · CCI · ADX · MT4 Expert Advisor · MQL4 Source Code