KGFv1 4
This Old Kings expert advisor (trading robot) for MetaTrader 4 is called KGFv1 4. In the code it works with MACD and RSI. It raises the lot size after losses (martingale — high risk), works with a grid of orders and moves the stop behind price. It has 23 settings, for example t1 (default SETTINGS), Lots (default 0.01) and Lot Exponent (default 1.55). Run it in the Strategy Tester and then on a demo account to see how it opens and closes trades. 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 KGFv1 4
KGFv1 4 is an expert advisor (trading robot) for MetaTrader 4 based on MACD and RSI. It increases the lot size after a losing trade (martingale), opens a grid of orders at fixed price steps and moves the stop loss behind price (trailing stop / break-even). It has 23 settings, such as T1, Lots and Lot exponent. MQL source code included.
It also can size trades from your balance and risk percent.
Files in the download: KGFv1(1).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 |
|---|---|---|
| T1 | SETTINGS | |
| Lots | 0.01 | теперь можно и микролоты 0.01 при этом если стоит 0.1 то следующий лот в серии будет 0.16 |
| Lot exponent | 1.55 | умножение лотов в серии по експоненте для вывода в безубыток. первый лот 0.1, серия: 0.15, 0.26, 0.4 |
| Lotdecimal | 2 | 2 - микролоты 0.01, 1 - мини лоты 0.1, 0 - нормальные лоты 1.0 |
| Pip step | 30.0 | шаг колена- был 30 |
| Max lots | 100 | ограничение макс лота |
| MM | FALSE | ММ - манименеджмент |
| Take profit | 100.0 | тейк профит |
| Use equity stop | false | использовать риск в процентах |
| Total equity risk | 20.0 | риск в процентах от депозита |
| Use trailing stop | FALSE | использовать трейлинг стоп |
| Trail start | 13.0 | Trailing stop distance or switch |
| Trail stop | 3.0 | Trailing stop distance or switch |
| Slip | 5.0 | проскальзывание |
| T3 | SETTINGS for Ilan_Hilo EA | |
| Max trades hilo | 10 | максимально количество одновременно открытых ордеров |
| Magic number hilo | 10278 | магик |
| T4 | SETTINGS for Ilan 1.5 EA | |
| Max trades 15 | 10 | Maximum number of open trades |
| G magic 176 15 | 22324 | Magic number that tells this EA's orders apart |
| T5 | SETTINGS for Ilan 1.6 EA | |
| Max trades 16 | 10 | Maximum number of open trades |
| G magic 176 16 | 23794 | Magic number that tells this EA's orders apart |
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 · Grid · Trailing Stop & Break-even · Risk & Lot Size · MACD · RSI · MT4 Expert Advisor · MQL4 Source Code