SpaceX_EA_Delete_StopLoss
This EA provides a GUI button labeled 'DELETE SL_TP' that removes stop loss and take profit levels from all open positions when clicked. It iterates through all positions and modifies each to set SL and TP to zero, effectively removing all protection levels. The EA does not open any trades on its own.
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 a pure utility tool with no trading strategy logic whatsoever. It has no entry conditions and does not open or close positions based on market signals. Its core function is to remove stop loss and take profit levels from all open positions via a single button click, functioning as a position management aid. Regarding position management, it only performs the operation of removing SL/TP without any position sizing adjustments or scaling. Money management is completely absent with no risk control mechanisms in place. Critically, removing stop loss and take profit is a high-risk operation that leaves all positions unprotected and exposed to unlimited loss potential. Although the code includes an error flag variable, it does not perform any error handling or user notification when modification fails.
Strengths
- One-click removal of SL/TP from all positions for convenience
- Uses standard MQL5 CAppDialog and CButton controls with proper GUI framework conventions
- Clean code structure with reasonable class encapsulation following MQL5 OOP standards
Weaknesses
- Removing SL/TP exposes all positions to unlimited risk, extremely dangerous
- Poor error handling: the errors variable is set but never checked or reported to the user
- No confirmation dialog — a single click could trigger catastrophic unintended consequences
- Operates on all positions across all symbols indiscriminately without filtering capability
- OnTick function is empty yet the EA must run continuously consuming resources
Possible improvements
- Add a confirmation dialog to prevent accidental SL/TP removal from misclicks
- Implement error feedback mechanism to notify users via Alert or chart comments when operations fail
- Add symbol filtering or position selection to allow selective SL/TP removal
Risk assessment
Overall risk: Dangerous
- Removing SL/TP eliminates all risk protection on positions, exposing them to unlimited losses
- No confirmation mechanism — a misclick removes all protection instantly
- No error feedback — users remain completely unaware when operations fail
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
INDENT_LEFT | 11 | Button left indent in pixels |
INDENT_TOP | 11 | Button top indent in pixels |
BUTTON_WIDTH | 70 | Button width in pixels |
BUTTON_HEIGHT | 20 | Button height in pixels |
Similar Utility EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.