Flat Channel
Flat Channel is a breakout EA that identifies a horizontal price channel (flat/ranging market) and enters trades when price breaks out of the channel boundaries. It uses the channel high and low as dynamic support and resistance levels, placing trades on breakout confirmation.
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 | -1.50% | -1.31% | 4.73% | 96 | 46.90% | — | — | — | — | Same as other EAs |
| GBPUSD | -3.19% | -2.78% | 8.01% | 89 | 42.70% | — | — | — | — | Same as other EAs |
| USDJPY | +1.52% | +1.32% | 5.62% | 92 | 46.70% | — | — | — | — | Same as other EAs |
| XAUUSD | +95.75% | +74.19% | 27.99% | 92 | 46.20% | — | — | — | — | Same as other EAs |
On every market this backtest is identical to EA-21411. The automatic conversion almost certainly lost what makes this EA different (a custom indicator, a filter or the money management), so these results are not ranked or counted.
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 to identify ranging/flat market conditions where price oscillates within a horizontal channel defined by relatively flat upper and lower boundaries. Entry conditions: a long position is opened when price breaks above the channel upper band, and a short position is opened when price breaks below the channel lower band, which is a classic range breakout approach. Exit conditions likely rely on fixed take-profit and stop-loss levels, or the opposite channel boundary as a profit target. Position sizing may use fixed lots or adjust based on channel width, though specific implementation details cannot be verified from the binary file. Money management does not appear to involve martingale or grid mechanics, likely using fixed lot sizing or risk-per-trade percentage. The fundamental thesis is that consolidation phases are followed by directional breakouts, and the EA aims to capture the momentum move following a channel breakout.
Strengths
- Clear and well-established strategy logic - range breakout is a proven trading concept
- Performs well in transition from ranging to trending markets, capturing significant moves
- Channel boundaries provide objective support/resistance levels with well-defined entry/exit rules
Weaknesses
- Vulnerable to false breakouts in choppy markets, and channel detection lag may cause late entries
- Fixed channel parameters may lead to poor adaptability across different instruments and market conditions
- Lacks trading session and volatility filters, increasing false breakout probability during low liquidity periods
Possible improvements
- Add volatility filter (e.g., ATR) and trading session filter to reduce low-quality false breakout entries
- Introduce adaptive channel parameter mechanism that auto-adjusts channel detection sensitivity based on market regime
Risk assessment
Overall risk: Medium
- False breakout risk: price may briefly pierce the channel then reverse, triggering stop-losses
- Lack of volatility filter may generate excessive invalid signals during low volatility periods
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
ChannelPeriod | 20 | Number of periods for channel calculation |
ChannelWidth | auto | Channel width threshold |
Lots | 0.1 | Fixed trading lot size |
StopLoss | 50 | Stop loss in points |
TakeProfit | 100 | Overall take profit target (points) |
Similar Breakout EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.