eaBreakeven
This EA is a breakeven utility that automatically moves the stop loss of open positions to the breakeven point once price moves a specified number of points in profit. It does not open its own trades but manages existing positions to lock in risk-free trades.
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
The core strategy concept of this EA is to protect existing floating profit by moving the stop loss to the breakeven point once price moves favorably by a user-defined number of points. Entry conditions are not applicable since this EA does not execute trade openings. Exit management is handled by modifying the stop loss to the breakeven level, ensuring the position cannot turn into a loss. Position sizing and money management are not applicable as the EA does not open or adjust position sizes. Its core logic iterates through all qualifying positions (filtered by MagicNumber and symbol), calculates the current floating profit in points, and if it exceeds the threshold, calls OrderModify to move SL to breakeven. This tool is applicable to all timeframes since it operates on a point threshold basis rather than price structure triggers.
Strengths
- Simple and practical, effectively protects floating profit from drawdown losses
- Flexible parameter settings with adjustable trigger points and offset values
- Supports MagicNumber filtering, can work alongside strategy EAs without conflict
- Does not open trades independently, extremely low risk as a purely assistive management tool
Weaknesses
- Only provides breakeven functionality, lacks advanced protection mechanisms like trailing stop
- No visual interface or information panel, users cannot intuitively monitor EA operation status
- Lacks logging functionality, cannot trace the execution history of breakeven operations
- After breakeven, if price continues favorably, the SL staying at breakeven may cause premature stop-out
Possible improvements
- Add trailing stop functionality so that after breakeven, SL can continue following price to lock in more profit
- Add an information panel and operation logs to improve user experience and traceability
Risk assessment
Overall risk: Safe
- As a pure management tool it involves no opening risk, but improper breakeven offset settings may still result in stop-out after breakeven
- Setting MagicNumber to 0 may inadvertently manage positions from other strategies
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
BreakevenPoints | 200 | Break-even trigger profit threshold in points |
BreakevenOffset | 0 | Break-even stop loss offset from entry in points (plus small profit) |
MagicNumber | 0 | Magic number for position filter, 0 means manage all |
ApplyToAllSymbols | true | Apply to all symbols, false means current chart symbol only |
Similar Utility EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.