EA-61119 · Utility

Auto_Tp

This EA automatically sets take-profit and optionally stop-loss on manually opened positions. It also provides optional trailing stop and equity protection features to manage risk on existing trades.

Open the interactive view (equity curve, symbol switch)

Key facts

CategoryUtility
RiskMedium
Rating★★☆☆☆
TypeUtility tool
TimeframesM1, M5, M15, M30, H1, H4, D1
IndicatorsNone
AuthorMir Mostofa Kamal

Backtest results (H1, about 1 year)

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

Strategy analysis

This EA does not generate any trading signals or open positions itself; it functions purely as a position management utility. Entry conditions are entirely determined by the trader manually, with no EA involvement in opening logic. Exit conditions include automatic fixed-pip take-profit setting, optional fixed-pip stop-loss, and optional trailing stop functionality. Position sizing is not managed by the EA at all; it only modifies stop-loss and take-profit on existing positions. Money management includes an equity protection feature that closes positions when equity falls below a configurable percentage of account balance, but this only works for positions matching a specific magic number. The overall strategy concept is to assist manual traders by automating TP/SL management to reduce emotional decision-making risks.

Strengths

  • Automates TP/SL setting, reducing the risk of forgetting to set them on manual trades
  • Trailing stop feature helps lock in floating profits as price moves favorably
  • Equity protection mechanism can prevent account blowout in extreme scenarios
  • Works on all timeframes and symbols including XAUUSD
  • Stop-loss is disabled by default, giving users flexible control

Weaknesses

  • Only handles one position per symbol using PositionSelect, missing positions in multi-position scenarios
  • Pip calculation uses hardcoded point*10 which is incorrect for 3/5-digit brokers and JPY pairs
  • Equity protection only applies to MagicNumber=2025, but manual trades have magic=0, making the feature effectively useless
  • No return value check on PositionModify calls, so failed modifications go unnoticed
  • Slippage input parameter is declared but never actually used anywhere in the code

Possible improvements

  • Use PositionGetTotal to iterate all positions instead of PositionSelect by symbol, enabling proper multi-position management
  • Fix pip calculation logic to auto-detect digit precision, correctly handling JPY pairs and various quote formats
  • Fix the magic number matching in equity protection to properly identify manually opened trades (magic=0)

Risk assessment

Overall risk: Medium

  • PositionSelect only picks one position per symbol, leaving other positions unmanaged with no SL/TP
  • Hardcoded pip=point*10 causes TP/SL distances to be 10x smaller than expected on 5-digit brokers
  • Equity protection fails to work for manual trades due to magic number mismatch

Evaluation scores

Code quality2.0
Strategy logic2.0
Risk management2.0
Robustness2.0
Innovation1.0
Documentation3.0
Overall2.0

Parameters

ParameterDefaultDescription
TakeProfitPips25Take profit in points
UseStopLossfalseEnable stop loss
StopLossPips12Stop loss in points
UseTrailingStopfalseEnable trailing stop
TrailingStopPips15Trailing stop in points
UseEquityProtectionfalseWhether to enable equity protection
MinEquityPercent20.0Minimum equity percentage threshold
Slippage3Allowed slippage value

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.