Ronz SLTP MT5
This EA is a trade management utility that automatically applies Stop Loss and Take Profit to open positions, supports both server-side and client-side (hidden) SL/TP modes, and includes a lock-profit feature and three trailing stop methods. It does not open trades based on its own strategy signals; it only manages existing positions.
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 does not generate trading signals itself but operates as a position management utility. Regarding entry conditions, the EA does not open positions on its own; it only initializes parameters in OnInit and scans all open positions or current chart symbol positions in OnTick. For exit conditions, in Server mode it sets server-side SL/TP via trade.PositionModify, while in Client mode it calculates virtual point distances and closes positions via trade.PositionClose when profit reaches TP or loss reaches SL thresholds. Position sizing is not handled by the EA for real trading, though it includes CheckMoneyForTrade and CheckVolumeValue methods used only in the OrderTest tester function. Money management is embodied in the lock-profit feature, which moves the SL to the open price plus ProfitLock points once the position reaches LockProfitAfter points in profit, thereby protecting existing gains. The trailing stop offers three methods—classic trailing, step-distance keeping, and step-by-step incremental—each suited to different market rhythms and volatility conditions.
Strengths
- Supports both server-side and client-side (hidden) SL/TP modes, offering high flexibility
- Provides three trailing stop methods to suit different trading styles and market conditions
- Lock-profit feature automatically protects gains once a profit target is reached
- Clean code structure using OOP with the AutoSLTP class encapsulation
- Configurable scope to manage current chart symbol only or all open positions
Weaknesses
- Client mode SL/TP depends on the EA running continuously; if EA stops or connection drops, virtual SL/TP becomes ineffective, posing significant risk
- SetInstantSLTP always returns false, which while not breaking functionality indicates imprecise code logic
- No new bar check mechanism; iterating all positions and attempting modifications every tick may cause frequent unnecessary PositionModify calls
- No logging of PositionModify failure reasons, making troubleshooting difficult
- The transition logic between LockProfit and TrailingStop (when Poin is between LPA and LPA+TS) is unintuitive and potentially confusing
Possible improvements
- Add new bar check in OnTick to reduce unnecessary position iteration and modification call frequency
- Implement disconnect protection for Client mode, such as auto-setting server-side SL/TP for all virtually managed positions on EA deinitialization
- Log PositionModify and PositionClose failure reasons with error codes for debugging and monitoring
Risk assessment
Overall risk: Medium
- Client (hidden) SL/TP mode leaves positions completely unprotected if the EA stops running, exposing them to unlimited market risk
- Position iteration and modification on every tick may overload the trade server or trigger rate limits during volatile markets
- No dynamic validation of minstoplevel changes; SL/TP modifications may be rejected for violating stop level requirements during market volatility
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
TakeProfit | 550 | Take profit in points (profit target) |
StopLoss | 350 | Stop loss in points |
SLnTPMode | Server | SL/TP mode: server-side or client-side (implicit) |
LockProfitEnable | LP_ENABLE | Enable/disable profit lock feature |
LockProfitAfter | 100 | Profit lock triggers after reaching this many points |
ProfitLock | 60 | Profit lock distance in points |
TrailingStopMethod | TS_CLASSIC | Trailing stop method: classic/step-keep/stepwise |
TrailingStop | 50 | Trailing stop in points |
TrailingStep | 10 | Trailing stop step |
Slippage | 10 | Slippage tolerance |
ChartSymbolSelection | AllOpenOrder | Scope: current chart only or all positions |
inpEnableAlert | false | Enable alert notifications |
inpEnableTest | false | Enable strategy tester auto-order testing |
Similar Utility EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.