Survivor
Survivor is an expert advisor (trading robot) for MetaTrader 4 from the Old Kings collection. Its source code uses RSI, moving averages, Bollinger Bands and ADX. It raises the lot size after losses (martingale — high risk) and can size trades from your risk. It has 40 settings, for example t (default ----------- -----------), Start Monday Minuts (default 5) and Stop Time Friday (default 20:00). 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 · v1.0 · Free
About Survivor
Survivor is an expert advisor (trading robot) for MetaTrader 4 based on RSI, Moving Average, Bollinger Bands and ADX. It increases the lot size after a losing trade (martingale) and can size trades from your balance and risk percent. It has 40 settings, such as T, Start monday minuts and Stop time friday. MQL source code included.
Files in the download: Survivor.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 |
|---|---|---|
| T | ----------- ----------- | |
| Start monday minuts | 5 | . 0- |
| Stop time friday | 20:00 | (hh:mm) ""- |
| Close time friday | 22:30 | (hh:mm) ""- |
| Inp1 | ||
| Bb1 | Bollinger Bands | |
| Period bb1 | 10 | Number of bars in the calculation |
| Deviation bb1 | 2 | |
| Bands shift bb1 | 0 | Bar shift (0 = current bar) |
| Price bbup1 | PRICE_CLOSE | |
| Price bbdn1 | PRICE_CLOSE | |
| Check bars bb1 | 10 | |
| Rsi1 | RSI | |
| Period rsi1 | 5 | Number of bars in the calculation |
| Price rsi1 | PRICE_CLOSE | |
| Level rs isell1 | 70 | |
| Level rs ibuy1 | 30 | |
| Adx1 | ADX | |
| Period adx1 | 7 | Number of bars in the calculation |
| Price adx1 | PRICE_CLOSE | |
| Level adx1 | 20 | |
| Dm1 | DeMarker | |
| Period dm1 | 5 | Number of bars in the calculation |
| Level d msell1 | 0.7 | |
| Level d mbuy1 | 0.3 | |
| Ma1 | MA | |
| Use ma1 | true | |
| Ma period1 | 105 | Number of bars in the calculation |
| Ma shift1 | 0 | Bar shift (0 = current bar) |
| Ma type1 | 0 | |
| Ma price1 | PRICE_CLOSE | (7 ) |
| Slippage ma1 | 25 | Maximum slippage allowed when opening a trade |
| Inp2 | ||
| Bb2 | Bollinger Bands | |
| Period bb2 | 10 | Number of bars in the calculation |
| Deviation bb2 | 2 | |
| Bands shift bb2 | 0 | Bar shift (0 = current bar) |
| Price bbup2 | PRICE_CLOSE | |
| Price bbdn2 | PRICE_CLOSE | |
| Check bars bb2 | 10 |
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 · Risk & Lot Size · RSI · Moving Average · Bollinger Bands · ADX · MT4 Expert Advisor · MQL4 Source Code