TrendBreakout EA
- Experts
- Version: 1.0
- Activations: 5
Trend Breakout EA
Overview
Trend Breakout EA trades Donchian channel breakouts, but only when three timeframes agree on the direction and only when the break itself carries enough force. Most breakout systems fail on false breaks; this one spends its complexity on filtering them out.
How it works
* A Donchian channel is computed on the entry timeframe. A close beyond the channel is the raw signal.
* Three moving averages, one per timeframe (entry, intermediate, higher), must confirm the direction. The number of timeframes that have to agree is a parameter.
* A breakout force filter requires the breaking candle to travel a minimum ATR multiple beyond the channel, which discards the marginal pokes through the edge.
* A volatility filter compares a short ATR to a long ATR and blocks entries when the market is compressed.
* Exits are independent and each can be disabled: return inside the channel, stop loss, take profit at a reward-to-risk multiple that can differ between long and short.
* A partial exit closes part of the position at a first target and an ATR trailing stop then follows the remainder, which is how a winning trend trade is allowed to keep running.
* A daily circuit breaker halts trading after a configurable percentage of equity has been lost in a day.
* An optional session filter restricts trading to a window of server hours.
Risk management
Percentage of equity risked per trade, with a daily loss ceiling.
Recommended use
Designed and tested on an index CFD (S&P 500) with an M30 entry timeframe. No hardcoded symbol; the EA reads the chart symbol only. Hedging or netting accounts, any broker, no DLL.
Backtest results
MetaTrader 5 Strategy Tester, 100% real tick data, January 2016 to June 2026, S&P 500 index CFD M30, initial deposit 10 000 USD, leverage 1:100: net profit 14 863 USD, profit factor 1.37, maximum balance drawdown 20.41%, 224 trades, 55.8% of trades profitable, average win 440 USD against average loss 406 USD.
Disclaimer
Trading Forex and leveraged products carries a high risk of capital loss and is not suitable for all investors. Backtest results are historical simulations; they do not reflect real transactions and do not guarantee future performance. Test on a demo account before any live use. This product does not constitute investment advice.
