Gepard
From the Old Kings archive: Gepard, an expert advisor (trading robot) for MetaTrader 4. In the code it works with Momentum. It places pending orders and can size trades from your risk. It has 40 settings, for example d Risk (default 0.005), s Risk and d Max Symbol Orders Count (default 5). Before any live use, test it on a demo account and check its lot size, stop loss and trading hours. Inside: 2 EA files 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 Gepard
Gepard is an expert advisor (trading robot) for MetaTrader 4 based on Momentum. It places pending buy/sell stop or limit orders and can size trades from your balance and risk percent. It has 40 settings, such as D risk, S risk and D max symbol orders count. MQL source code included.
Files in the download: GEPARD 2.3.ex4, GEPARD3.1.mq4, Инструкция.doc, Прочти.doc, Текстовый документ.txt.
Trading robots can lose money. Check every setting and test on a demo account before using real funds.
Settings
| Setting | Default | What it does |
|---|---|---|
| D risk | 0.005 | Risk per trade (percent of balance) |
| S risk | Risk per trade (percent of balance) | |
| D max symbol orders count | 5 | |
| S max symbol orders count | ||
| Max open val position | 7.0 | |
| D stop loss | 0 | Stop loss distance |
| S stop loss | Stop loss distance | |
| D min distance real orders b pr | 5.0 | Distance between orders |
| S min distance real orders b pr | Distance between orders | |
| D min distance real orders s pr | 5.0 | Distance between orders |
| S min distance real orders s pr | Distance between orders | |
| Cr use correction | 1 | |
| Cr wait correction after move pr | 1.2 | |
| Cr wait correction after flat pr | 0.2 | |
| Cr max distance from bottom pr | 0.1 | Distance between orders |
| Cr size correction pr | 0.3 | |
| Cr stop loss pr | 0.0 | Stop loss distance |
| Cr analiz move period | 5 | Period or timeframe used by the calculation |
| Cr analiz move count bars | 6 | |
| Cr analiz flat period | 2 | Period or timeframe used by the calculation |
| Cr analiz flat count bars | 2 | |
| D count high low limits | 2 | |
| S count high low limits | ||
| Di hl limit distance1 pr | 1.0 | Distance between orders |
| Si hl limit distance1 pr | Distance between orders | |
| Di hl period1 | 5 | Number of bars in the calculation |
| Si hl period1 | Number of bars in the calculation | |
| Di hl count bars1 | 6 | |
| Si hl count bars1 | ||
| Di hl limit distance2 pr | 5.0 | Distance between orders |
| Si hl limit distance2 pr | Distance between orders | |
| Di hl period2 | 7 | Number of bars in the calculation |
| Si hl period2 | Number of bars in the calculation | |
| Di hl count bars2 | 2 | |
| Si hl count bars2 | ||
| D use flat indicator | 1 | |
| S use flat indicator | ||
| Di fl min extremums count | 1 | |
| Si fl min extremums count | ||
| Di fl period | 1 | Period or timeframe used by the calculation |
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: Pending Orders · Risk & Lot Size · Momentum · MT4 Expert Advisor · MQL4 Source Code