Loading…

Ilan 193

Ilan 193 is an expert advisor (trading robot) for MetaTrader 4 from the Old Kings collection. Its source code uses CCI. 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 Lot Exponent (default 1.2), Take Profit (default 50) and Pip Step (default 50). Watch it on a demo account for a while — robots can behave differently with each broker. 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 Ilan 193

Ilan 193 is an expert advisor (trading robot) for MetaTrader 4 based on CCI. 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 Lot exponent, Take profit and Pip step. MQL source code included.

It also moves the stop loss behind price (trailing stop / break-even) and can size trades from your balance and risk percent.

Files in the download: Ilan_RSI_mm_extr193.mq4, i-Regr.mq4, TrendMagic.mq4, StrategyTester_193.gif, StrategyTester_193_lock.gif.

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

Settings

SettingDefaultWhat it does
Lot exponent1.2. 0.1, : 0.15, 0.26, 0.43 ...
Take profit50dec , = 0
Pip step50dec
C9MM
Lots0.10.01 0.1 0.15
Risk2% , = 0 Lots
Last trade100= + lastradeprofit
Take profit last10.0dec LastTrade
Las trade size17% , 10 000 1
Max trades50Maximum number of open trades
Open new cycletruefalse, , ..
S11
Trend ps7dec , =0 ,
Profit perc5dec 10% ,
Min profit pips15dec , , + MinProfitPips
Min profit pips one2dec , , + MinProfitPips
Num tr2
F dir2
C3
Magic number54321Magic number that tells this EA's orders apart
Slip3.0dec
Perc down0.. "" (.. ) 30 % ,
Perc close010 % 30 , , 60 % , 20 %
Com on0=0
C4
Tf ilan x0. mper = 5 - H1
N h10=3 3 1
N h40=5 5 4
C8
Lock s0, =0 , =0.5, 50%
L mag n689
Num lock min10
Num loc15
Max dist400dec
Lock profit perc1%
Koridor50dec
Lmul2
Max lock trades4
Cc period50TrendMagic
Atr period5TrendMagic

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 · Pending Orders · Trailing Stop & Break-even · Risk & Lot Size · CCI · MT4 Indicator · MQL4 Source Code

Old Kings — classic MT4 & MT5 collection · PolyMaria