Loading…

Ilan1.7by Nikolaus 2

From the Old Kings archive: Ilan1.7by Nikolaus 2, an expert advisor (trading robot) for MetaTrader 4. In the code it works with 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 40 settings, for example Lot Exponent (default 1.4), Dynamic Pips (default true) and Default Pips (default 12). 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 Ilan1.7by Nikolaus 2

Ilan1.7by Nikolaus 2 is an expert advisor (trading robot) for MetaTrader 4 based on 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 40 settings, such as Lot exponent, Dynamic pips and Default pips. MQL source code included.

It also can size trades from your balance and risk percent.

Files in the download: Ilan1.7byNikolaus.mq4.

Trading robots can lose money. Check every setting and test on a demo account before using real funds.

Settings

SettingDefaultWhat it does
Lot exponent1.4. : 0.1, : 0.16, 0.26, 0.43 ...
Dynamic pipstrue
Default pips12
Glubina24
DEL3
Slip3.0( )
Lots0.1Trade size in lots
Lotdecimal10 - (1), 1 - (0.1), 2 - (0.01)
Take profit10.0Take profit distance
Rsi minimum5.0RSI
Rsi maximum95.0RSI
Magic buy111Magic number that tells this EA's orders apart
Magic sell222Magic number that tells this EA's orders apart
Max trades10Maximum number of open trades
Use equity stopFALSE
Total equity risk20.0Risk per trade (percent of balance)
Ts lastTrue
Ts start last15
Ts stop last7
Plus koleno2
Recalc tpTRUE
First tpfalse
St koleno9
Add pips2
T pfor slfalse
S3New for Trail all
Trail allfalseTrailing stop distance or switch
Trail all start2Trailing stop distance or switch
Trail all stop5Trailing stop distance or switch
T pfor trail allfalseTrailing stop distance or switch
S4New for LocOrder
Eq locfalse
Loc equity20.0
Point locfalse
Loc point30
Loc lot1
Trail locfalseTrailing stop distance or switch
Trail loc stop20Trailing stop distance or switch
Loc sl0
Antislivtrue

How to install

  1. Download the ZIP from your PolyMaria library and unzip it.
  2. In MetaTrader 4 open File → Open Data Folder, then go to MQL4 → Experts.
  3. Copy the .mq4 file(s) there. Put any .mqh files in MQL4 → Include.
  4. Open the .mq4 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
  5. Drag the expert advisor from the Navigator onto a chart, check the settings, allow Algo/Auto Trading and press OK.
  6. Test it first on a demo account or in the Strategy Tester.

Download the PDF guide

Tags: Martingale · Grid · Trailing Stop & Break-even · Risk & Lot Size · RSI · MT4 Expert Advisor · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria