EA-22138 · Utility

EA Close

EA Close is a utility expert advisor designed to close all open positions and/or pending orders on the account either immediately or based on configurable conditions such as profit/loss thresholds, magic number, symbol, or time. It does not open any new trades and serves solely as a position/order management tool for risk control and account cleanup.

Open the interactive view (equity curve, symbol switch)

Key facts

CategoryUtility
RiskSafe
Rating★★★☆☆
TypeUtility tool
TimeframesM1, M5, M15, M30, H1, H4, D1
Indicators—
AuthorCopyright © 2018, Vladimir Karputov

Backtest results (H1, about 1 year)

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

Strategy analysis

EA Close is fundamentally not a trading strategy EA but rather a position management utility tool. Its core function is to batch-close positions or delete pending orders based on user-configured parameters. Entry conditions are not applicable since it does not open positions; exit conditions include closing by total profit threshold, total loss threshold, per-position profit/loss threshold, magic number filter, symbol filter, time-based scheduled closing, and more. In terms of position management, the EA does not involve position-opening logic and only handles closing operations, with options to close long positions, short positions, or all positions. For money management, it protects account equity by setting profit/loss thresholds to prevent excessive drawdown or lock in realized profits. The EA is typically used as a supplementary tool alongside other trading strategy EAs, executing one-click or conditional closing when specific criteria are met.

Strengths

  • Simple and intuitive operation with one-click batch closing for improved execution efficiency
  • Supports multiple filter conditions (magic number, symbol, direction) for flexible closing scope control
  • Profit/loss threshold closing effectively protects account equity by locking profits or limiting drawdown
  • Highly compatible as a supplementary tool that works with any trading strategy EA
  • Scheduled closing capability useful for session-based trading or automatic liquidation before major events

Weaknesses

  • As a utility EA it generates no trading signals and is only meaningful when combined with other EAs or manual trading
  • Batch closing during extreme market volatility may result in slippage causing actual fill prices to deviate from expected levels
  • Lacks advanced risk management features such as partial closing or trailing stops, making functionality relatively limited
  • Frequent polling to check conditions may increase server load, especially with large numbers of positions
  • Some default parameter values may not suit all trading environments and require user adjustment based on actual conditions

Possible improvements

  • Add partial closing functionality to allow gradual position reduction by percentage to minimize slippage impact
  • Add a graphical interface panel for real-time position monitoring and one-click closing operations
  • Add email/push notification to alert users after closing operations are executed

Risk assessment

Overall risk: Safe

  • Batch closing during extreme market conditions may result in significant slippage due to insufficient liquidity
  • Improper parameter settings (e.g., profit threshold too small) may trigger premature closing before optimal profit levels are reached

Evaluation scores

Code quality3.0
Strategy logic2.0
Risk management4.0
Robustness3.0
Innovation1.0
Documentation2.0
Overall2.5

Parameters

ParameterDefaultDescription
CloseAlltrueClose all positions
CloseProfit0Close all when total profit reaches this value (0=disabled)
CloseLoss0Close all when total loss reaches this value (0=disabled)
MagicNumber-1Close orders with specified magic number (-1=all)
CloseBuytrueWhether to close buy positions
CloseSelltrueWhether to close sell positions
ClosePendingfalseWhether to delete pending orders
Slippage3Allowed slippage 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.