📝 产品详情
Layer Trade Manager
| 作者 | Andy Kah Yong Ong |
| 版本 | v2 |
| 更新 | 24 三月 2026 |
| 激活数 | 5 |
| 原价 | $30 USD |
Layer Trade Manager — Level trade & Scalping Assistant
Layer Trade Manager is a simple yet powerful on-chart trade management panel for MetaTrader 5 designed to take the heavy lifting out of layered trade strategies. A single click opens the first trade and queues up a basket of up to 5 staggered market entries if price reaches the preconfigured layers, each with its own configurable take profit, and the smart automation takes care of setting BE, etc. from there.
What It Does
Instead of manually placing multiple orders at different price levels, Layer Trade Manager does it for you. Press BUY or SELL on the panel and:
- Trade 1 opens immediately at market
- Trades 2–5 open automatically as the market moves against you, each triggered at a configurable offset from the previous trade's actual fill price — a classic layering approach for building into a position
- When price moves to your configured threshold (e.g. at TP1) break even is set (if configured) on your open trades to take off risk.
All 5 TP levels are calculated and displayed on the chart the moment you press the button, so you always know exactly where your exits are.
Key Features
Compact On-Chart Panel
A clean, dark-themed HUD sits in the corner of your chart. Every number is live-editable — click any TP or SL field, type a price, and it is applied to the linked trades instantly.
5 Fully Configurable Take Profit Levels
TP1 through TP5 are spaced cumulatively from each other using configurable point offsets. Each TP row has five trade-link buttons (T1–T5) — click a button to assign that trade to close at that TP level, or reassign it at any time while the basket is live.
Relay TPs off TP1
Changed your TP1? One click on Relay TPs off TP1 recalculates and pushes TP2–5 to all linked trades automatically, respecting the original spacing offsets.
Two Auto Break-Even Strategies
- Individual BE — Each trade's SL is moved to its own entry price (+ a configurable buffer for fees) as soon as price reaches a trigger distance from Trade 1's entry. Trades are protected one by one.
- Combined BE — A single weighted-average entry price is calculated across all open basket positions. All SLs are moved to that blended level at once, with a configurable settling delay so completed TP closes don't skew the average.
Automatic Cascade Entries
Trades 2–5 don't use pending orders — they monitor price in real time and open at market the moment each threshold is breached, using actual fill prices as the reference for the next level. This gives you real cascaded execution without the risk of pending order drift.
Trailing Stop for Unlinked Trades
Any trade slot not assigned to a TP row is automatically managed with a trailing stop, so nothing is left unprotected.
Session Recovery
Restart MT5 mid-basket? No problem. The EA reads your existing open positions on OnInit and fully restores the panel state — tickets, TP links, SL, direction, and BE status — without touching any live trade settings.
Close all trades button
If news is coming up, you need to go out, or you don't like the way the market is moving plress one button and all your open trades are closed together.
Live Chart Lines
Five colour-coded TP lines and a dashed SL line are drawn directly on the chart for instant visual reference. They update the moment you edit a price in the panel.
Input Settings At A Glance
| Group | Parameters |
|---|---|
| Magic Number | Unique EA identifier |
| Trade Settings | Lot size, SL offset, BE strategy, BE trigger distance, BE delay, BE buffer |
| TP Offsets | Independent point-offset for each of TP1–TP5 |
| TP-to-Trade Links | Default trade assignment for each TP row |
| Trade Entry Offsets | Cascade distance for Trades 2–5 from the previous entry |
| Trailing SL | Distance in points for trades with no TP |
Who It's For
- Scalpers who want rapid basket execution without the manual overhead
- Grid/layer traders who build into positions as price retraces
- Any trader who wants a clean visual panel to manage multi-trade setups with automated BE and TP management
Requirements
- MetaTrader 5
- Algo trading enabled in MT5
Please note that you should always watch open trades to ensure the EA is managing your trades as you expect so you can close your trades manually if required to protect your capital.
Configuration Instructions
Magic Number
| Variable | Default | Description |
|---|---|---|
| EA magic number | 20260307 | Unique identifier stamped on every order placed by this EA. Use a different number per instance on the same account to keep baskets separate. |
| Configuration name for panel title (if using multiple instances) | (empty) | Optional text label appended to the panel title bar. Useful when running multiple instances on different charts — leave blank for the default “Layer Trade Manager” title. |
Trade Settings
| Variable | Default | Description |
|---|---|---|
| Lot size applied to every trade | 0.01 | Volume applied to every trade in the basket (T1–T5). Normalised to the broker’s minimum volume step automatically. |
| SL distance in points from Trade 1 entry | 800 pts | Initial stop-loss distance in points from the Trade 1 entry price. Applied when no manual SL has been typed into the panel. |
| BE strategy: Individual, Combined | BE_COMBINED | Determines how break-even is calculated when the auto-BE threshold is reached. Individual — each trade gets its own BE SL set just above its own entry price. Combined — all trades share a single BE SL set above the weighted average entry price of the whole basket. |
| Points from Trade 1 EP to trigger auto-BE | 300 pts | How far price must move in the trade direction from Trade 1’s actual fill price before auto-BE fires. Measured against the peak high-water-mark price so the trigger is never missed if price retraces. |
| Milliseconds to wait after BE threshold breach before applying BE | 800 ms | Settling delay (milliseconds) between the BE threshold being breached and the BE SL actually being applied. Allows in-progress TP closes at that level to settle before the weighted average EP is calculated. Most relevant to the Combined strategy. |
| BE points offset to cover fees/minor slippage | 50 pts | Points added above (buy) or below (sell) the reference entry price when setting the BE stop-loss, to cover spread, commission, and minor slippage. |
TP Offsets
TP levels are cumulative. TP1 is measured from Trade 1’s entry price; TP2 is measured from TP1; TP3 from TP2, and so on.
| Variable | Default | Description |
|---|---|---|
| TP offset for TP1 from EP | 300 pts | Distance from Trade 1 entry price to the TP1 level. |
| TP offset for TP2 from TP1 | 200 pts | Additional distance from TP1 to the TP2 level. |
| TP offset for TP3 from TP2 | 200 pts | Additional distance from TP2 to the TP3 level. |
| TP offset for TP4 from TP3 | 200 pts | Additional distance from TP3 to the TP4 level. |
| TP offset for TP5 from TP4 | 200 pts | Additional distance from TP4 to the TP5 level. |
T1 entry = $5000 • TP1Offset=300 • TP2Offset=200 • TP3Offset=200
→ TP1 = $5003 TP2 = $5005 TP3 = $5007
TP to Trade Links
Each TP row can be linked to one trade. When that TP price is reached the linked trade closes. Links can also be changed live on the panel.
| Variable | Default | Description |
|---|---|---|
| Default Trade to close at TP1 (1-5, 0=none) | 0 | Trade number (1–5) to close when TP1 is hit. 0 = no trade linked. |
| Default Trade to close at TP2 (1-5, 0=none) | 1 | Trade number to close at TP2. Default closes Trade 1. |
| Default Trade to close at TP3 (1-5, 0=none) | 2 | Trade number to close at TP3. Default closes Trade 2. |
| Default Trade to close at TP4 (1-5, 0=none) | 3 | Trade number to close at TP4. Default closes Trade 3. |
| Default Trade to close at TP5 (1-5, 0=none) | 0 | Trade number to close at TP5. 0 = none. |
| Trailing SL distance in points (for trades with no TP) | 200 pts | Trailing stop distance for any trade that has no TP assigned. The trailing SL only activates once BE has been triggered and only ever moves in the profitable direction. |
Trade Entry Offsets
Trade 1 always opens at the market price when BUY/SELL is pressed. Trades 2–5 can open immediately, cascade as price moves, or be disabled entirely.
| Variable | Default | Special values | Description |
|---|---|---|---|
| Trade2 entry offset from Trade1 (0=disabled, -1=open with T1) | 200 pts | 0 = off • -1 = with T1 | Offset from Trade 1’s actual fill price at which Trade 2 opens. Buy: T2 opens when ask falls this many points below T1 entry. Sell: when bid rises this many points above T1 entry. |
| Trade3 entry offset from Trade2 (0=disabled, -1=open with T1) | 200 pts | 0 = off • -1 = with T1 | Offset from Trade 2’s actual fill price at which Trade 3 opens. Cascade chain anchors to the previous trade’s fill, not T1 entry. |
| Trade4 entry offset from Trade3 (0=disabled, -1=open with T1) | 0 (off) | 0 = off • -1 = with T1 | Offset from Trade 3’s actual fill price at which Trade 4 opens. |
| Trade5 entry offset from Trade4 (0=disabled, -1=open with T1) | 0 (off) | 0 = off • -1 = with T1 | Offset from Trade 4’s actual fill price at which Trade 5 opens. |
Special value reference
| Value | Behaviour |
|---|---|
| 0 | Trade slot disabled — that trade will never open as part of an auto-basket. |
| -1 | Trade opens immediately at market alongside Trade 1 when BUY/SELL is pressed. Use this to fire 2, 3, or 4 trades simultaneously. E.g. set Trade2Offset = -1 to always open two trades on each BUY/SELL click. |
| > 0 | Trade opens via cascade. The EA monitors price every tick and opens this trade at market once the threshold is reached. |
T1 fills at $5000. Trade2Offset=200 → T2 opens when ask ≤ $4998.
T2 fills at $4998. Trade3Offset=200 → T3 opens when ask ≤ $4996.
Each threshold is anchored to the previous trade’s actual fill, not T1 entry.
Panel Controls (runtime)
| Control | Function |
|---|---|
| TP1–TP5 edit boxes | Type a price and press Enter to set that TP level and push it to any linked open trades. |
| T1–T5 buttons (per row) | Toggle the TP↔trade link. Highlighted green = linked. Click to link/unlink; linking immediately pushes the panel TP price to the live trade. |
| BE button | Grey — disabled; price has not yet reached Trade 1 entry level. Dark red — eligible; price is at or above T1 entry. Click to immediately apply BE stops to all open trades using the configured strategy. Bright red — BE active; SL is locked. Click again to deactivate and re-enable manual SL editing. The button re-disables if price drops back below T1 entry while BE is not yet activated. |
| SL edit box | Editable when BE is off. Type a price and press Enter to update the SL on every open basket trade simultaneously. Locked to read-only when BE is active. |
| BUY / SELL | Opens a fresh basket (T1 at market, immediate trades fired, cascade monitoring starts). If a basket is already active in the same direction and T5 is not yet filled, pressing the same button adds the next available trade at market. |
| Relayer TPs off TP1 | Recalculates TP2–TP5 from the current TP1 value using the configured offsets and pushes the new prices to all linked trades. |
| Close All Trades | Closes every open basket position at market. Panel and tracking state reset automatically once all positions are confirmed closed. |
安全须知
本产品仅通过 MQL5.com 官方渠道获取。其他渠道版本可能缺少完整功能和技术支持。
EA 配置
| 交易品种 | XAUUSD |
| 时间框架 | H1 (推荐) |
| 推荐经纪商 | IC Markets, IC Trading |
| 最低存款 | $300 / 0.01手 |
📸 截图预览