chtrailing
This EA is a channel-based trailing stop utility that manages existing positions by moving stop losses according to a highest-high/lowest-low channel with an offset. It also implements a 'noose' trailing mechanism that mirrors the take-profit distance to set a symmetric stop loss, and optionally deletes pending orders when a position is opened.
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 strategy concept is a trailing stop management utility rather than an independent entry strategy. It constructs a channel from the highest high and lowest low over a user-defined lookback period, adding a point offset to form upper and lower trailing levels. Entry conditions are not applicable since the EA does not open positions — it only manages stop losses on existing ones. Exit conditions for long positions trigger when the channel lower bound moves above the current stop loss, tightening the stop; for short positions, when the channel upper bound moves below the current stop loss. The 'noose' trailing mechanism mirrors the take-profit distance from the current price to set a symmetric stop loss, progressively locking in profit as price moves favorably. Position sizing and money management are entirely absent — the EA only modifies stop loss and preserves the existing take profit. An auxiliary feature deletes all pending orders for the symbol when a deal is added and a position exists.
Strengths
- Dual trailing stop mechanisms (channel + noose) offering flexible combination
- Built-in stop level and freeze level validation prevents rejected modification requests
- Adjustable channel offset accommodates different volatility regimes
- New bar detection avoids per-tick redundant calculations, saving resources
- Visual trend line rendering of channel and noose levels for intuitive monitoring
Weaknesses
- Does not open positions, relying on external signals or other EAs for entry, limiting standalone use
- No multi-position support — only manages a single position per symbol
- Noose mechanism requires take-profit to be pre-set; if TP is zero, noose silently does nothing without alerting the user
- No error handling feedback — PositionModify failures are not reported to the user
- Fixed default channel period of 5 may require frequent manual adjustment across different volatility environments
Possible improvements
- Add logging and error feedback to report PositionModify failure reasons for easier troubleshooting
- Support multi-position management and multi-symbol concurrent trailing for greater utility
- Implement adaptive channel period calculation (e.g., ATR-based) to reduce manual parameter tuning
Risk assessment
Overall risk: Safe
- Noose mechanism silently fails when take-profit is not set, potentially misleading users into thinking stops are being managed
- Channel trailing only updates on new bars, creating potential stop lag during volatile intra-bar moves
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
trail_period | 5 | Channel period for highest/lowest price lookback |
trail_stop | 50 | Channel offset points added beyond upper/lower band |
noose_trailing | true | Enable 'noose' trailing stop (mirrors take-profit distance) |
channel_trailing | true | Enable channel trailing stop |
ord_delete | true | Delete pending orders of same symbol when position opens |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.