Tengri 1.4 4
Tengri 1.4 4 — a MetaTrader 4 expert advisor (trading robot) kept in the Old Kings collection. Its source code uses RSI and moving averages. It raises the lot size after losses (martingale — high risk), works with a grid of orders and places pending orders. It has 40 settings, for example P Expert (default ---------- ), All Symbols (default True) and Magic (default -1). Before any live use, test it on a demo account and check its lot size, stop loss and trading hours. Inside: 3 indicator 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 Tengri 1.4 4
Tengri 1.4 4 is an expert advisor (trading robot) for MetaTrader 4 based on RSI and Moving Average. It increases the lot size after a losing trade (martingale), opens a grid of orders at fixed price steps and places pending buy/sell stop or limit orders. It has 40 settings, such as P expert, All symbols and Magic. MQL source code included.
It also moves the stop loss behind price (trailing stop / break-even).
Files in the download: e_trailing2.mq4, silence2_02.mq4, tengri_1.4.mq4, Текстовый документ.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 |
|---|---|---|
| P expert | ---------- | |
| All symbols | True | |
| Magic | -1 | Magic number that tells this EA's orders apart |
| Ts profit only | True | |
| Trailing step | 3 | Trailing stop distance or switch |
| Show comment | True | Comment written on the orders |
| P performance | ---------- | |
| Use sound | True | Turn this alert on or off |
| Sound success | expert.wav | Turn this alert on or off |
| Sound error | timeout.wav | Turn this alert on or off |
| Number of try | 2 | |
| My period | 12 | Period or timeframe used by the calculation |
| Buff size | 96 | |
| Af4 | fx.09@mail.ru novakazahi@yandex.ru | |
| A | ------- 1- ------- | |
| Tf op1 | 4 | , 1- , 1-1, 2-5, 3-15... |
| B | -------Silence 1- ------- | |
| Tf silence1 | 2 | 1- Silence, 1-1, 2-5, 3-15... |
| Per silence1 | 11 | Silence 1- |
| Buff silence1 | 220 | BuffSize Silence 1- |
| Sil level1 | 80 | Level Silence 1- |
| Tf silence2 | 3 | Silence, 1-1, 2-5, 3-15... |
| Per silence2 | 12 | Silence |
| Buff silence2 | 96 | BuffSize Silence |
| Sil level2 | 80 | Level Silence |
| K | ------- ------- | |
| Tf ma2 | 3 | , 1-1, 2-5, 3-15... |
| Per ma2 | 30 | MA |
| Block | ------- ------- | |
| Pip step exponent | 1 | How much the lot size grows after a loss |
| Lot exponent1 | 1.70 | StepX |
| Lot exponent2 | 2.08 | StepX |
| Step x | 5 | Step=5, 5 1, 5 2 |
| Lot size | 0.01 | 1- FixLot = true; |
| Fix lot | false | true - , false - LotStep |
| Lot step | 2000 | . .. LotStep LotSize. 2000 0.01, 4000 0.02 |
| Pip step | 10 | . PipStepExponent Silence Level. |
| Pip step2 | 20 | . PipStepExponent Silence Level. |
| TP | 10 | Take profit distance |
| Max trades | 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 · Grid · Pending Orders · Trailing Stop & Break-even · RSI · Moving Average · MT4 Indicator · MQL4 Source Code