ManualTrade Panel Aligned
- Experts
- Version: 37.60
- Mise à jour: 12 septembre 2026
- Activations: 20
General Overview
This is a manual trading panel Expert Advisor for MetaTrader 5. It does not trade automatically based on signals; instead, it provides the trader with a convenient graphical interface for manual control, including opening market trades and pending orders, managing SL/TP, trailing stops, break-even settings, position monitoring, and statistics.
The panel consists of two windows:
Main Panel (212×372 px) — for entering and executing trades.
Position Monitor (350×372 px) — for managing open positions and orders.
How It Works
1. Main Panel — Trade Parameters
Lot Mode: Fixed LOT or auto-calculated RISK % (percentage of equity based on SL in points). The BtnMode button toggles between these modes.
SL / TP: Entered in points; SL/TP buttons enable or disable these settings for new trades. Separate SL/TP sets are stored for BUY and SELL (the BUY/SELL button on the chart toggles which set is currently being edited).
Position Protection: Trailing stop (TRL, step in points), auto-move to break-even (BE, trigger threshold), and offset (BEO, typically accounts for the spread).
2. Pending Orders
Buttons for BUY LIMIT / BUY STOP / SELL LIMIT / SELL STOP.
Price is set in three ways: manually in the PRC field, by double-clicking the chart, or by dragging the dashed line (Pick Line)—virtual SL/TP lines and a plan deletion button (x) are automatically drawn nearby. The pending order type is toggled using the BL/BS/SL/SS button on the chart.
3. Trading Operations
BUY / SELL buttons — for market trades; ALL / PROF / DEL ORD — close all positions, close only profitable positions, or delete all pending orders. All operations are executed via CTrade, incorporating checks for MagicNumber, slippage (in points), and symbol-specific execution types.
Lot size calculation is normalized based on VOLUME_STEP and constrained by VOLUME_MIN/MAX, as well as MaxRiskPct (max risk as % of equity) and MaxLotSize limits.
Includes trade confirmations (ConfirmTrades) and a CanTradeSymbol check (verifying trading permissions for the terminal, Expert Advisor, and specific symbol).
4. Position Monitor
Statistics: daily profit, win rate, profit factor, and winning/losing streaks.
Each position is displayed in a row showing: symbol, volume, and net P/L (including swap and commission).
Action buttons per row: 1/2 (partial close by a set %), BE (move SL to break-even), R (reverse position), x (close).
SL/TP input fields can be modified directly within the monitor; edits trigger a PositionModify request.
Pending orders appear in separate rows with a delete button; scrolling is supported.
5. Automatic protection (on tick/timer)
AutoManagePosition (applies only to positions with the assigned MagicNumber):
Auto-BE: when profit reaches the threshold, SL moves to the open price (+ spread offset).
Trailing: when profit reaches the step, SL trails the price.
Auto-close after N minutes (MaxPositionMinutes).
Modifications occur only when the new SL improves protection (spam protection).
6. Chart Visualization
Virtual SL/TP lines for the upcoming trade, displaying risk and profit amounts in account currency (UpdateMarketSLTP).
Trend filter indicator: ^/v symbol indicating if the price is above/below the H1 SMA(200) (displayed on the panel button).
The panel is draggable via its header and scalable (-/+, 50–150%). 7. Saving Settings
All parameters are stored in the terminal's global variables (`MTP_*_<Magic>`); therefore, settings for lot size, risk, SL/TP, and panel position persist after a terminal restart and are shared across all charts using the same Magic Number.
8. Notifications
Log entries and/or push notifications (`NotifyMode`) regarding operation results and SL/TP triggers (`NotifyOnSLTP`).
9. Tester Mode
`InpTesterDemo`: In the Strategy Tester, the panel opens several safe demo trades (featuring mandatory SL/TP, a limit of up to 6 trades, a nominal exposure cap, and lot sizing based on free margin) so that the "Market" validation process detects trading activity. In live trading, no automatic trades are opened—everything remains manual.
Advantages
All-in-one: Market trades, pending orders, monitoring, protection, and statistics—all without switching windows.
Flexible risk management: Lot size calculation based on risk percentage (with `MaxRiskPct` and `MaxLotSize` limits) and on-chart display of risk and profit amounts in monetary terms.
Rapid position management: Partial close, reverse, move to break-even, and SL/TP adjustment via a single button or input field—no manual ticket entry required.
Separate SL/TP settings for BUY and SELL—convenient for varying market conditions.
Clear visualization: Drag-and-drop adjustment of virtual SL/TP lines and pending order prices directly on the chart.
Auto-protection: Trailing stop and break-even features free the trader from constant monitoring.
Persistence: Settings and panel position are saved between sessions.
Multi-currency support and isolation: The Magic Number allows multiple panel instances to run on different instruments without interference; a "my positions only" filter ensures other trades remain unaffected. Security by default: confirmations, trading access checks, risk limits, mandatory SL/TP in the tester's demo mode, and no hidden or automatic actions in live trading.
Bilingual EN/UA support and adjustable interface scaling.
