Pinball machine
This EA implements a 'Pinball' breakout strategy that trades price bounces off dynamic support/resistance levels. It identifies consolidation ranges and enters trades when price breaks out with momentum, similar to a pinball bouncing off bumpers. The system uses pending orders and momentum confirmation to capture directional moves from range expansions.
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
This EA employs a breakout strategy where the core concept is identifying price consolidation ranges and entering in the breakout direction. Entry conditions are based on price breaking above previous highs or below previous lows, combined with momentum indicator confirmation to validate the breakout. Exit conditions include fixed take-profit and stop-loss levels, as well as reversal exits when breakouts fail. Position sizing uses either fixed lots or account-balance-proportional lot calculation. Money management incorporates stop-losses but may lack dynamic adjustment mechanisms. The overall strategy logic is clear, representing a typical range-breakout trading system, though the risk of false breakouts should be noted.
Strengths
- Clear strategy logic — range breakout is a proven trading methodology
- Uses pending orders for entry, reducing slippage impact
- Includes stop-loss and take-profit, providing basic risk control
Weaknesses
- Lacks false breakout filtering, prone to repeated stop-outs in choppy markets
- No spread filter included, may incur frequent losses in high-spread environments
- Position sizing is simplistic without dynamic adjustment based on market volatility
Possible improvements
- Add ATR-based dynamic stop-loss/take-profit and position sizing to adapt to changing market volatility
- Incorporate volume or volatility filters to reduce entries on false breakouts
Risk assessment
Overall risk: Medium
- Lack of spread filter may cause additional losses under unfavorable conditions
- Fixed stop-loss doesn't account for market volatility changes, potentially too tight during high volatility
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
LotSize | 0.1 | Fixed lot size per trade |
StopLoss | 50 | Stop loss in points, limits max loss per trade |
TakeProfit | 100 | Take profit in points, locks profit target per trade |
RangePeriod | 20 | Range calculation period |
BreakoutBuffer | 5 | Breakout buffer in points |
MagicNumber | 17744 | Magic number for closing, 0 for all positions |
Similar Breakout EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.