EA-34065 · Utility

EA_TradingPanel

A semi-automated trading panel EA that provides a graphical interface on the chart for manually placing buy and sell orders with configurable parameters. Users can set the number of trades, stop loss, take profit (in pips), volume, and symbol via the panel controls, then click BUY or SELL buttons to execute trades instantly at market price.

Open the interactive view (equity curve, symbol switch)

Key facts

CategoryUtility
RiskHigh risk
Rating★☆☆☆☆
TypeTrading EA
TimeframesM1, M5, M15, M30, H1, H4, D1
IndicatorsNone
AuthorFxWeirdos. Mario Gharib. Forex Jarvis. info@fxweirdos.com

Backtest results (H1, about 1 year)

Not backtested yet — this EA could not be converted automatically.

Strategy analysis

This EA is a trading panel utility with no automated strategy logic; all trading decisions are triggered manually by the user. Entry conditions rely entirely on the user clicking BUY or SELL buttons, executing market orders at the current Ask/Bid price. Exit conditions are calculated from user-specified SL and TP pip values, but the SL/TP calculation functions have a critical logic error — the SELL handler uses dPriceTP for SL and dPriceSL for TP, reversing the directions completely. For position sizing, the user can set 1-20 consecutive orders via the SpinEdit control, and the EA loops to place multiple identical-lot orders with no position reduction or scaling logic. Money management is entirely manual with the user setting the lot size; the EA itself has no risk control mechanisms such as maximum position checks, account balance validation, or maximum drawdown limits. Additionally, reading SL/TP values from UI controls uses (double)ObjectGetString forced type casting, which does not correctly convert text strings to double values in MQL5 — this is a programming error that would produce incorrect values at runtime.

Strengths

  • Provides an intuitive graphical trading panel for quick manual order placement
  • Supports multi-symbol selection via ComboBox, allowing switching to any symbol in Market Watch
  • Enables batch order placement (1-20 trades) with one click, useful for quickly executing multiple identical trades

Weaknesses

  • SL/TP calculation functions are called in reverse order in the SELL handler — dPriceTP is used for SL and dPriceSL for TP, which will produce completely wrong stop levels and could cause severe losses
  • Reading numeric values from UI controls uses (double)ObjectGetString forced casting, which does not correctly parse numeric text strings to double values in MQL5
  • No risk control mechanisms at all — no maximum position checks, no account balance validation, no maximum drawdown protection
  • OnInit returns INIT_SUCCEEDED when detecting an existing panel without recreating it, making recovery impossible if the panel is accidentally closed
  • All chart colors are forced to white (including background and foreground), rendering the chart nearly unusable with no automatic restoration

Possible improvements

  • Fix the reversed dPriceSL/dPriceTP calls in the SELL handler to ensure stop loss is below and take profit is above the entry price
  • Replace (double) forced casting with StringToDouble() to correctly parse numeric text from UI controls
  • Add risk control mechanisms: maximum position limits, account balance checks, spread filtering, and order execution result verification

Risk assessment

Overall risk: High risk

  • SELL button SL/TP calculation logic is reversed, which could place stops in the wrong direction and cause unlimited losses
  • UI control value reading uses incorrect type casting, potentially resulting in lot size, SL, or TP values of 0 or anomalous values
  • No order execution result checking — trade.Sell/trade.Buy return values are not verified
  • No maximum position limits — users can place up to 20 orders at once without any safeguards

Evaluation scores

Code quality1.0
Strategy logic2.0
Risk management1.0
Robustness1.0
Innovation2.0
Documentation2.0
Overall1.5

Parameters

ParameterDefaultDescription
iNB1Number of trades (1-20)
dSL2Sell order stop loss in points
dVOL0.01Trading lot size
dTP10Sell order take profit in points

Similar Utility EAs

Backtests are historical simulations and do not guarantee future results. Not financial advice.

Get the weekly Arena report

One email a week: ranking changes, new signals and new research. No spam; unsubscribe any time.