
Ilan16Dynamic is an MT4 expert advisor that opens a series of averaging orders with growing lot sizes and closes the series at a set profit target. Step size can be fixed or calculated from recent bars.
Get one message the moment it launches, with its price.
Ilan16Dynamic is an expert advisor for MetaTrader 4 that trades in series. It opens a first order, adds further orders in the same direction as price moves against the position, and closes the whole series when a shared profit target is met. Lot sizes grow from one order to the next, which is the martingale element.
Once the first order of a series is open, each additional order is placed after price has moved a set number of pips from the previous one. The expert tracks the average entry price of the series and applies the take profit relative to that average, so the whole basket closes together when the target is reached.
The first order uses the Lots setting. Every following order in the series is multiplied by LotExponent, so exposure increases the deeper a series goes. MaxTrades limits how many orders one series may contain.
With DynamicPips switched off, the distance between orders is DefaultPips. With it switched on, the distance is calculated from recent bars. Glubina/DEL controls how many historical bars are analysed and acts as a divisor in the formula.
If UseTrailingStop is enabled, the expert can move a series towards break-even once TrailStart is reached, using TrailStop as the trailing length. The difference between the two values gives the break-even distance in pips. When this happens, the expert changes the magic number and begins a new series.
The product is built for MT4 and is mainly used on forex pairs. The timeframe is up to you, and the behaviour of the step calculation depends on the bars of the chart it is attached to. Spread, swap and slippage affect averaging systems noticeably, so check these with your own broker before choosing a symbol.
| Input | Purpose |
|---|---|
| Wk | Allows or blocks the start of new series |
| LONG TRADE | Allows buy series |
| SHORT TRADE | Allows sell series |
| LotExponent | Lot multiplier for each added order |
| DynamicPips | Turns on the dynamic step calculation |
| DefaultPips | Fixed step between orders |
| Glubina/DEL | Bars analysed and divider for dynamic mode |
| Lots | Volume of the first order |
| TakeProfit | Profit target of the series, in pips |
| StopLoss | Stop loss for the whole series |
| MagikNumber | Magic number of the first series |
| MaxTrades | Maximum orders in one series |
| UseTrailingStop | Enables break-even trailing |
| TrailStart | Profit level that activates trailing |
| TrailStop | Trailing length; start minus stop gives break-even pips |
No default values are given here. Open the inputs dialog after attaching the expert and read the values that ship with it before changing anything.
Averaging with increasing lot sizes means a long move against the position can use a large share of the account. A series that does not recover can lead to a large loss or a margin call. Before live use, decide the largest loss you accept, set Lots, LotExponent, MaxTrades and StopLoss to match, and keep the account size consistent with that plan.
Trading carries risk, and past results, including strategy tester runs, do not predict future ones. Test on a demo account first and only trade money you can afford to lose.
| Product type | Expert Advisor |
|---|---|
| Platform | MetaTrader 4 |
| Strategy focus | Volume |
| Delivery | Download from your account after purchase |
| License key | Not needed |
| Status | Launching soon |
| Category | Expert advisor (automated trading) |
| Trade style | Martingale averaging series, long and short |
| Strategy tag | Volume (lot scaling within a series) |
| Markets | Forex symbols; check spread and swap with your broker |
| Timeframes | Chosen by the user; test the one you plan to use |
| Order handling | Series take profit, optional series stop loss, optional trailing |
| Requirements | Algo trading enabled, stable connection, adequate margin |
No reviews yet. Customers who own Ilan16Dynamic can review it here.
No. This build is written for MetaTrader 4 and will not load in MetaTrader 5. If you use MT5, look for a product that is listed for that platform.
Copy the expert advisor file into the MQL4/Experts folder through File, Open Data Folder in MetaTrader 4. Restart the terminal or refresh the Navigator, drag the expert onto a chart, and make sure algo trading is enabled in the toolbar and in the expert's properties.
There is no single correct set. Lots, LotExponent, MaxTrades, step size and StopLoss decide how large a series can grow and how much it can lose. Run the strategy tester on your own broker's data and then a demo account before considering a live account, and keep the first lot small relative to your balance.
When DynamicPips is on, the distance between added orders is derived from recent bar history instead of staying fixed. Glubina/DEL sets how many bars are analysed and acts as a divider in the calculation. When it is off, DefaultPips is used.
There is a StopLoss input that applies to the whole series. Check its value before running, because a series left without a stop can keep growing until MaxTrades is reached or the margin runs out.
It can run on any MT4 broker that allows expert advisors, but spreads, swaps, minimum lot size and execution speed affect a martingale series a great deal. Test with your own broker's conditions.
Ilan16Dynamic
Notify me at launchQuestions about this tool?
Ask us on Telegram Install guide for MT4 and MT5 Get a custom version builtFree, practical help with testing, sizing and running expert advisors.
Own Ilan16Dynamic? Sign in to review it.