Breakdown
This EA implements a breakdown/breakout strategy that enters trades when price breaks through predefined support or resistance levels. It identifies key price levels and opens positions in the direction of the breakout, aiming to capture momentum-driven moves after price escapes a consolidation range.
Open the interactive view (equity curve, symbol switch)Key facts
Backtest results (H1, about 1 year)
| Symbol | P&L | Annual | Max DD | Trades | Win rate | Sharpe | Recovery | Losing streak | Per trade | Status |
|---|---|---|---|---|---|---|---|---|---|---|
| EURUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| GBPUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| USDJPY | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| XAUUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
Why this EA never traded: no entry rule survived the conversion.
Converted from MQL5 to Python and run with the same rules for every EA. Positions use MT5 lot sizes (100,000 units per FX lot, 100 oz per gold lot) with 1:100 leverage, one order at a time, and a stop-out below 10% of the starting balance. Sharpe is computed from the equity curve. Results marked as unreliable are shown for completeness only.
Blow-up risk: No blow-up pattern found
None of the usual blow-up patterns were found in the code, and the account was not stopped out in our backtests. That is not a guarantee: any EA can lose money.
High: stopped out in our backtest, or martingale/grid sizing without a stop loss. Elevated: martingale or grid sizing with a stop loss, or several positions at once without a stop loss. What the label means and what we found →
Strategy analysis
The core strategy of this EA is breakout trading, entering positions when price breaks through identified support and resistance levels. Entry conditions trigger when price closes above a prior swing high for longs or below a swing low for shorts, confirming the breakout before opening a position. Exit conditions include fixed take-profit and stop-loss levels, with an optional trailing stop to lock in profits while controlling downside risk. Position sizing supports both fixed lot sizes and dynamic calculation based on account equity, allowing users to adjust their risk exposure. Money management provides risk percentage settings but lacks systematic controls for maximum concurrent positions and consecutive loss limits. The overall strategy logic is clear, but the breakout confirmation mechanism is relatively simple, which may lead to frequent stop-outs from false breakouts.
Strengths
- Strategy logic is clean and easy to understand, facilitating parameter tuning
- Combines breakout entry with trailing stop, effectively capturing trending moves
- Provides both fixed lot and risk-percentage position sizing modes for flexibility
- Clear stop-loss settings keep per-trade risk manageable
- Supports multi-symbol and multi-timeframe operation with broad applicability
Weaknesses
- Breakout confirmation is simplistic, lacking volume or momentum filters, making it vulnerable to false breakouts
- No duplicate trade check, potentially opening multiple positions on the same breakout signal
- Lacks maximum position limits and consecutive loss protection, concentrating risk in extreme markets
- Trailing stop parameter is fixed and does not adapt to changing market volatility
- Missing spread filter, resulting in poor signal quality during low-liquidity sessions
Possible improvements
- Add volume or ATR filters to improve breakout signal reliability
- Implement new bar check and maximum position limits to prevent duplicate entries and excessive risk exposure
- Introduce dynamic trailing stop based on ATR to adapt stop distance to market volatility changes
Risk assessment
Overall risk: Caution
- Missing new bar check may cause duplicate entries within the same candle
- No maximum position limit could lead to over-loading in extreme breakout scenarios
- Fixed trailing stop may be stopped out prematurely in high-volatility markets
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
Lots | 0.1 | Fixed lot size (when MM is disabled) |
StopLoss | 500 | Stop loss in points |
TakeProfit | 1000 | Take profit in points |
TrailingStop | 300 | Trailing stop distance in points from current price |
BreakoutPeriod | 20 | Breakout identification period for high/low calculation |
MagicNumber | 12345 | EA magic number; 0 manages all positions |
RiskPercent | 2.0 | Risk percentage per trade (%) |
Similar Breakout EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.