TradingBoxing
TradingBoxing is a breakout-based Expert Advisor that identifies price consolidation ranges (boxing periods) and enters trades when price breaks out of the established range. It uses a structured approach to define upper and lower boundaries of recent price action, then trades the breakout direction with predefined risk parameters.
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
- Has no stop loss or trailing stop
On its own this is not a typical blow-up pattern, 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
TradingBoxing's core strategy is boxing breakout - it enters trades when price breaks above the upper boundary or below the lower boundary of a defined consolidation range. The entry condition requires the close price to break above the boxing upper rail for longs, or below the lower rail for shorts. Exit conditions include take-profit targets typically set at the opposite side of the boxing range and stop-loss levels. Position sizing may use fixed lots or percentage-based allocation relative to account equity. Money management involves setting stop-losses inside the boxing range or on the reverse side of the breakout point to control per-trade risk. The strategy relies on momentum following consolidation periods and performs well in trending markets, but may suffer consecutive losses in choppy markets with frequent false breakouts.
Strengths
- Clear and logical strategy - boxing breakout is a classic and well-validated trading method
- Includes stop-loss and take-profit settings for controlled risk management
- Contains spread filter to avoid entering trades in high-spread environments
- Flexible parameterized design allowing users to adjust boxing period and risk parameters
- Applicable across multiple timeframes and trading instruments
Weaknesses
- Boxing breakout strategy is vulnerable to false breakouts in choppy markets leading to consecutive losses
- Lacks trend filter mechanism, may enter on counter-trend breakouts
- No explicit position scaling mechanism - fixed lot size may not suit different account sizes
- Missing multi-timeframe confirmation reduces reliability of single-period breakout signals
- Consolidation range identification may lack precision with subjective boundary determination
Possible improvements
- Add a trend filter (e.g., moving average direction or ADX) to only trade breakouts in the trend direction
- Implement multi-timeframe confirmation to improve breakout signal reliability
- Implement dynamic position sizing based on account size and market volatility
Risk assessment
Overall risk: Medium
- False breakout risk: price may break out then quickly reverse in choppy markets triggering stop-losses
- Fixed stop-loss may be insufficient to cover market volatility, especially during major news events
- Lacks maximum consecutive loss limits and overall drawdown control mechanisms
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
BoxingPeriod | 20 | Consolidation box period, bars to determine range |
LotSize | 0.1 | Initial lot size, martingale base quantity |
StopLoss | 50 | Stop loss in points, max loss per trade |
TakeProfit | 100 | Group TP in points, close all at this profit |
MagicNumber | 12345 | EA magic number to distinguish trade instances |
Timeframe | H1 | Signal timeframe, 0 for current period |
MaxSpread | 30 | Maximum allowed spread, no trade if exceeded |
Similar Breakout EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.