AP Trade Manager
- Утилиты
- Allan Graham Pike
- Версия: 1.0
AP Trade Manager (MT5)
Overview
Utility panel for manual trade execution and simple trade management. Provides Buy, Sell, Half Close, and Close All buttons, with an optional auto-breakeven after a user-defined distance. No DLLs or external resources.
How it works
-
Opens or closes positions for the current symbol using fixed lots.
-
Half Close reduces position size by approximately 50% (uses partial close where supported; otherwise applies a netting-safe reduction).
-
Close All exits all positions on the current symbol (filtered by Magic if set).
-
Auto-Breakeven (optional): when unrealized profit reaches a set distance in points, the stop-loss is moved to the entry price (or entry ± buffer).
Buttons
-
Buy — open a long position with the specified lot size.
-
Sell — open a short position with the specified lot size.
-
Half Close — reduce the current symbol’s position volume by ~50%.
-
Close All — close all positions on the current symbol (matching Magic if set).
Inputs
-
Lots — fixed lot size for new orders.
-
UseBreakeven — enable/disable auto-breakeven.
-
BE_TriggerPoints — profit (points) to arm breakeven.
-
BE_BufferPoints — extra points beyond entry (0 = exactly at entry).
-
Magic — tag/filter positions (0 = manage any).
-
Panel layout — corner, offsets, and size.
How to use
-
Attach the utility to a chart.
-
Set Lots and, if needed, enable UseBreakeven with trigger/buffer values.
-
Use the buttons to open or manage trades on the current symbol.
-
For multi-symbol management, run one instance per symbol.
Notes
-
No automatic strategy logic; this is a manual-execution tool.
-
Half Close behavior depends on account mode and broker settings.
-
Works on netting and hedging accounts.
-
No DLLs, no external links.
Support
Support is provided via the MQL5 comments section or MQL5 messages.
Changelog
v1.0 — Initial release.