EZ Trading Assistant
- Yardımcı programlar
- Sürüm: 1.2
- Güncellendi: 11 Eylül 2026
- Etkinleştirmeler: 5
EZ Trading Assistant is an MT5 Expert Advisor that adds an on-chart control panel for preparing, opening, and managing trades - including Auto Lot sizing, Break Even, Trailing Stop Loss, and Partial Closes - across up to 5 independent trades at once.
It applies a concept of preparing your buy or sell order before executing to prevent accidentally pressing the wrong button and opening a trade in the wrong direction.
1. Getting Started
- Attach EZTradingAssistant to a chart for the symbol you want to trade.
- Review the in the EA's Properties dialog and adjust the defaults to your preference (lot size, default SL/TP distance, Break Even behaviour, etc).
- Make sure AutoTrading is enabled in the toolbar - the panel will still display without it, but no trades can be opened or modified and also that EA support is allowed on the trading server you use (some prop firms don't enable this by default)
- The control panel appears docked in the top-left corner of the chart as soon as the EA attaches.
2. Panel Overview
From top to bottom, the main panel view contains:
| Section | Purpose |
|---|---|
| Active Trades | Five numbered slots (1-5) showing which trades are currently being tracked. |
| Prepare Market Buy / Sell | Arms a draggable Entry/TP/SL preview for an immediate market order. |
| Prepare Pending Buy / Sell | Arms a draggable preview for a Buy/Sell Limit or Stop order. |
| Entry Price | Editable only while a pending order is being prepared. |
| TP / SL row | Switch each between Points distance or a fixed Price, and edit the value directly. |
| Auto Lot Calc / Risk % | Automatically sizes the position from your risk % and SL distance. |
| Lots | Manual lot size (used when Auto Lot Calc is off). |
| Break Even section | BE Buffer, Auto BE trigger mode/value, and confirmation type. |
| Configure Partials | Opens the Partial Closes configuration screen. |
| Execute Prepared Order | Sends whatever is currently prepared (market or pending, buy or sell). |
| Activate BE | Immediately moves the selected trade's Stop Loss to breakeven. |
| Activate Trailing SL | Starts trailing the selected trade's Stop Loss behind price. |
| Close All Trades | Closes every open position and cancels every pending order placed by this EA. |
3. Active Trades (T1-T5)
Every trade opened through the panel is automatically assigned to one of five numbered slots (T1 to T5), shown as buttons 1 - 5 at the top of the panel. Each slot tracks its own independent:
- Auto Break Even settings
- Trailing Stop Loss state
- Partial close progress
Click a slot's number button to select it - the panel's Break Even and Trailing SL controls then edit that specific trade. The selected slot is highlighted brighter than the others; slots holding a trade but not currently selected are dimly lit; empty slots are grey and not clickable.
If the EA or terminal restarts while trades are still open, it automatically re-attaches each open position to its original T1-T5 slot and resumes tracking its Break Even/Trailing/Partials state from wherever the position currently stands.
4. Preparing a Trade
"Preparing" a trade draws a draggable Entry (for pending orders), Take Profit, and Stop Loss line on the chart so you can visually fine-tune the setup before it's sent to the broker. Nothing is actually opened until you click Execute Prepared Order.
Market vs. Pending
| Button | Behaviour |
|---|---|
| Prepare Market Buy / Sell | Entry price continuously tracks the live Ask/Bid. TP/SL lines are draggable. On Execute, opens immediately at the current market price. |
| Prepare Pending Buy / Sell | Entry price is fixed and draggable; TP/SL move together with it. On Execute, places a real Buy/Sell Limit or Stop order with the broker (automatically choosing Limit vs. Stop based on whether the entry sits above or below the current price). |
Starting a new "Prepare" always resets Entry, SL, TP and the Auto BE section back to their configured defaults, so leftover settings from a different trade never carry over by accident.
Dragging the lines
- Click and drag the TP or SL line (or its label) up/down to adjust it.
- While preparing a pending order, the Entry line is also draggable - TP and SL move together with it, preserving their distance (Points mode) or their exact prices (Price mode).
- Lines are drawn so they never render underneath the panel itself.
Points vs. Price mode
Both TP and SL can independently be set in one of two modes, toggled with the Pts / Price buttons next to each:
- Pts - a distance in points from the entry price. Recalculates automatically as the entry moves.
- Price - a fixed price level that does not move with the entry.
5. Auto Lot Sizing
When Auto Lot Calc is enabled, the position size is calculated automatically so that if the Stop Loss is hit, the loss equals the configured Risk % of your account balance. When disabled, the fixed value in the Lots field is used instead.
6. Break Even
| Control | Description |
|---|---|
| BE Buffer | Points beyond the entry price that Break Even locks the Stop Loss in at (small profit lock-in, or 0 for exact breakeven). |
| Auto BE Trigger: Pts / % of TP / Price | How the trigger level is defined - a fixed points distance, a percentage of the distance from entry to TP, or a fixed price. |
| Wick / Body Close | Whether the trigger fires the instant price wicks through the level, or only once a completed M1 candle closes beyond it. |
| Auto BE (toggle) + value box | Turns automatic Break Even on/off for the selected trade slot, and sets the trigger value. |
| Activate BE | A one-off manual action - immediately moves the selected trade's SL to breakeven + buffer, regardless of Auto BE. |
When using % of TP mode, if the position has no Take Profit set (or Trailing SL has removed it - see below), the trigger still calculates against the default TP distance, so Auto BE keeps working even without a live broker-side TP.
7. Trailing Stop Loss
Activate Trailing SL switches the selected trade from a fixed Take Profit to a trailing Stop Loss:
- The position's Take Profit is removed the moment you activate it.
- As price moves in your favour, the Stop Loss is continuously pulled up (for a Buy) or down (for a Sell) to stay the configured number of points behind the best price reached so far.
- The Stop Loss only ever moves in your favour, never backward.
- To avoid flooding the broker with requests, the best price is tracked every tick, but the actual Stop Loss is only updated on the server at most twice per second.
- Click the button again to deactivate trailing - the Stop Loss stays wherever it last was; the Take Profit is not restored automatically.
8. Partial Closes
Click Configure Partials to open the Partials screen, where up to five levels (P1-P5) can each close a percentage of the original lot size once price reaches a percentage of the way from Entry to Take Profit to lock in profit gradually.
| Column | Meaning |
|---|---|
| On | Enables/disables that level. |
| EP->TP% | How far along the Entry-to-TP distance this level triggers (e.g. 50 = halfway to TP). |
| Close% | What percentage of the original lot size to close at this level. |
The vertical bar on the right of this screen shows a to-scale visual of where each enabled level sits between Entry (EP) and Take Profit (TP), plus how much volume would remain for the broker's native TP to close.
- Click Save/Apply to commit your changes - the configuration is validated first (for example, the total of all enabled levels' Close% must stay under 100%).
- Click < Back to return to the main panel and discard any unsaved changes.
Partial close configuration is shared across all trades, but each trade slot tracks its own "already triggered" progress independently, based on its own original lot size.
9. Executing, Closing & Cancelling
- Execute Prepared Order - sends whatever is currently prepared. Disabled (greyed out) when nothing is being prepared.
- Close All Trades - closes every open position belonging to this EA (matching its magic number and the chart's symbol) and cancels every one of its resting pending orders, even ones placed before an EA/terminal restart.
10. Input Parameters Reference
| Group | Input | Default | Description |
|---|---|---|---|
| General | MagicNumber | 20260307 | Identifies this EA's own trades so it never touches trades opened elsewhere. |
| ConfigurationName | (blank) | Optional label appended to the panel's title, useful when running several instances. | |
| LotSize | 0.01 | Manual lot size used when Auto Lot Calc is off. | |
| Prepare Trade Defaults | DefaultTPPoints | 1000 | Default TP distance (points) when a trade is prepared. |
| DefaultSLPoints | 500 | Default SL distance (points) when a trade is prepared. | |
| Auto Lot Sizing | DefaultAutoLotOn | true | Whether Auto Lot Sizing starts enabled. |
| DefaultRiskPercent | 1.0 | Default risk % of balance used when Auto Lot is on. | |
| Break Even | BEBufferPoints | 50 | Points beyond entry that Activate BE / Auto BE locks the SL in at. |
| DefaultAutoBEOn | true | Whether Auto BE starts enabled. | |
| DefaultBEMode | % of TP | Default Auto BE trigger mode. | |
| DefaultBEValue | 30.0 | Default trigger value (points, % to TP, or a price, depending on mode). | |
| DefaultBEConfirm | Wick | Default confirmation type - wick touch or M1 candle body close. | |
| Trailing Stop | DefaultTrailingSLPoints | 200.0 | Default Trailing SL distance (points) behind the best price reached. |
| Partial Closes | DefaultP1On..DefaultP5On | false | Whether each partial level starts enabled. |
| DefaultP1Pct..DefaultP5Pct | 50 / 75 / 90 / 0 / 0 | Default EP->TP% trigger for each level. | |
| DefaultP1Lots..DefaultP5Lots | 25 / 25 / 25 / 0 / 0 | Default % of original lots to close at each level. |
11. Tips & Troubleshooting
- Always check the Experts/Journal tab in the MT5 terminal for detailed log messages - every action (opening, modifying, closing, Auto BE trigger, Trailing SL update, slot assignment) prints a line explaining what happened.
- If a trade doesn't appear to be tracked in any of the T1-T5 slots, check the log for a "Trade slot activated" or "All trade slots are full" message.
- Auto BE, Trailing SL and Partials only run for trades tracked in an Active Trade slot - trades opened outside the panel (e.g. manually, or by another EA) are not managed by EZ Trading Assistant.
- Only one Buy-side and one Sell-side pending order can be armed at a time - preparing a new one on the same side replaces (cancels) any order already resting.
