Last Hope 6
From the Old Kings archive: Last Hope 6, an expert advisor (trading robot) for MetaTrader 4. In the code it works with moving averages and ZigZag. It raises the lot size after losses (martingale — high risk), places pending orders and moves the stop behind price. It has 29 settings, for example version (default Forex last hope v.6), bool Compensator (default true) and bool tral (default true). 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 Last Hope 6
Last Hope 6 is an expert advisor (trading robot) for MetaTrader 4 based on Moving Average and ZigZag. 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 29 settings, such as Version, Bool compensator and Bool tral. MQL source code included.
It also can size trades from your balance and risk percent.
Files in the download: last hope 6.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 |
|---|---|---|
| Version | Forex last hope v.6 | |
| Bool compensator | true | |
| Bool tral | true | |
| Lots | 0.1 | Trade size in lots |
| Min range | 50 | |
| Max range | 500 | |
| Depth | 20 | |
| Level | 55 | |
| Level sl | 0 | |
| Level tp | 68 | |
| Magic | 72 | Magic number that tells this EA's orders apart |
| Tral | ||
| Trailing stop | 0.2 | 0 - 1 . 0.25... 1 |
| Trailing step | 0 | Trailing stop distance or switch |
| Utral | 10 | |
| Secure profit | 3 | --- (0 1 5) |
| Secure profit triger | 10 | --- (10 2 30) |
| Mm | MM | |
| Start lot | 0 | . = 0 = 0 =StartLot |
| Recovery mode | TRUE | --- ( -) |
| Fixed lot | 0.01 | --- |
| Auto mm | 10 | --- AutoMM > 0. . RecoveryMode = FALSE, . |
| Maximal lot | 1000 | |
| Auto mm max | 20.0 | --- |
| Max analiz count | 50 | --- ( RecoveryMode = True) |
| Risk | 25.0 | --- ( RecoveryMode = True) |
| Risk free margin | 0.5 | Risk per trade (percent of balance) |
| Risk margin | 0 | Risk per trade (percent of balance) |
| Multi lot percent | 1.6 | --- ( RecoveryMode = True) |
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 · Risk & Lot Size · Moving Average · ZigZag · MT4 Expert Advisor · MQL4 Source Code