Firebird v0.60
Firebird v0.60 is a mean reversion EA that trades based on price deviation from a moving average. It enters positions when price moves excessively away from its MA, expecting a reversion to the mean, and uses configurable lot sizing with optional martingale-like recovery.
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: Elevated
- Opens a grid of orders at fixed price steps
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
Firebird v0.60 employs a mean reversion strategy that identifies trading opportunities by measuring the deviation of price from its moving average. Entry conditions trigger when price moves beyond a configurable threshold multiple of standard deviation or ATR away from the MA — long positions when price is significantly below the MA and short positions when price is significantly above it. Exit conditions include price reverting back to the mean line, fixed take-profit or stop-loss being hit, or an opposing signal appearing. Position sizing supports both fixed lot mode and an optional martingale-style recovery mode that increases lot size after losses. Money management incorporates maximum position limits and account equity protection, however stop-loss settings may be inadequate and the strategy faces the risk of continuously adding positions against strong trends.
Strengths
- Mean reversion strategy performs well in ranging markets with clear and understandable logic
- Configurable deviation threshold and MA period provide good adaptability to different instruments
- Includes maximum position limits and equity protection showing some risk management awareness
Weaknesses
- Default stop-loss is zero which can lead to catastrophic losses in strong trending markets
- Martingale recovery mode causes exponential lot size growth during consecutive losses, extremely risky
- Lacks market regime filter, continues to open counter-trend positions during trending conditions
Possible improvements
- Add market regime identification filter to pause trading or switch strategy during trending conditions
- Enforce mandatory stop-loss and remove martingale recovery mode or cap the maximum multiplier iterations
- Add volatility and spread filters to avoid entry during high volatility and wide spread environments
Risk assessment
Overall risk: High risk
- Default zero stop-loss allows unlimited single-trade loss
- Martingale recovery mode causes exponential lot growth, risking account blowup on consecutive losses
- Counter-trend strategy keeps losing and potentially adding positions during sustained directional moves
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MA_Period | 56 | Moving average period |
MA_Method | MODE_SMA | Moving average calculation method |
Deviation | 2.0 | Entry deviation threshold multiplier |
LotSize | 0.1 | Hedge lock lot size |
StopLoss | 0 | stop losspoints (0=nostop loss) |
TakeProfit | 0 | take profitpoints (0=notake profit) |
MaxTrades | 3 | Maximum same-direction positions allowed |
RecoveryMode | true | Enable lot doubling recovery mode after loss |
Multiplier | 2.0 | Lot multiplier coefficient for recovery mode |
MaxSlippage | 3 | Maximum allowed slippage |
Similar Mean Reversion EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.