PeterPanel
Peter Panel is a semi-automated trading panel (EA) that provides a GUI for manually placing, modifying, and closing trades via three horizontal price lines (AQUA, GREEN, RED). It does not generate its own trading signals; the user drags the lines to set entry price, take-profit, and stop-loss levels, then clicks buttons to execute orders.
Open the interactive view (equity curve, symbol switch)Key facts
Backtest results (H1, about 1 year)
Not backtested yet — this EA could not be converted automatically.
Strategy analysis
This EA is not an automated strategy system but a trading assistance panel tool. Entry conditions are entirely determined by the user manually: the user drags the AQUA line to set the entry price, GREEN line for take-profit, and RED line for stop-loss, then clicks Buy/Sell/Stop/Limit buttons to place orders. Exit conditions are likewise manually operated by the user through the Modify and Close buttons on the panel. Position sizing is managed through the Lot controls on the panel, including lot increment/decrement (+/- buttons), maximum lot (Max button calculates based on available margin), minimum lot (Min button), and normalized lot (Norm button). For money management, the Max button calls OrderCalcMargin to calculate the maximum lot size allowed by available margin, but it does not account for already-used margin or cumulative risk from multiple positions. Stop-loss and take-profit settings depend on the user correctly placing the GREEN and RED lines—BUY orders use GREEN as TP and RED as SL, while SELL orders reverse this—requiring the user to understand the line semantics.
Strengths
- Provides an intuitive GUI trading panel integrating order placement, modification, and closing functions for convenient operation
- Uses three draggable horizontal lines to visually set entry price/TP/SL, making it intuitive and easy to understand
- Comprehensive lot management with increment/decrement, max (margin-based), min, and normalize functions
- Real-time refresh of positions and pending orders list, supporting order selection for modification or closing
- Semi-automated mode gives the trader full control, preventing blind order placement
Weaknesses
- The Max button calculates maximum lot based on single-order margin without considering existing position margin usage, potentially leading to over-leveraging
- No trading time filter (e.g., news events, market close periods), users may place orders during unfavorable sessions
- Constructor calls GetLot() before edits[0] is created, causing lotSet to read 0 from an empty control—an initialization order bug
- OnClickListItem logic for Position and Order selection may conflict: if the same ticket is both a Position and an Order, both blocks execute
- Lacks spread filter and slippage protection; market orders during high volatility may fill at very unfavorable prices
Possible improvements
- Fix the constructor initialization order bug: move GetLot() from the constructor to the Create() method after controls are created
- Incorporate used margin and existing position lots into Max lot calculation to prevent over-leveraging
- Add mutually exclusive logic for Position vs Order selection to avoid duplicate processing of the same ticket
- Add spread filter and maximum slippage limit to improve market order fill quality
- Add label hints (e.g., TP/SL) to the GREEN/RED lines to reduce the risk of users confusing line semantics
Risk assessment
Overall risk: Low
- Constructor initialization bug causes lotSet to be 0; if the user places an order without changing the lot, the order will fail
- Max lot calculation ignores existing position margin, potentially allowing positions beyond actual capacity
- Lacks spread and slippage protection, which may result in unfavorable fills in low-liquidity market conditions
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
DIALOG_WIDTH | 300 | Panel width in pixels |
DIALOG_HEIGHT | 350 | Panel height in pixels |
SPAN | 6 | Control spacing in pixels |
UNIT_WIDTH | 44 | Standard control width in pixels |
UNIT_HEIGHT | 30 | Standard control height in pixels |
deviation | 10 | Maximum slippage tolerance for market orders in points |
Similar Utility EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.