BEAR/BULL Row Full EA
This EA implements a breakout-based strategy that identifies bullish and bearish row patterns to enter trades. It operates as a pair of companion EAs (BEAR and BULL variants) that separately handle short and long positions based on consecutive candlestick row detection. The system opens positions when a sustained directional move (row of same-direction candles) is detected, aiming to capture momentum from continued price movement.
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
The strategy concept is based on identifying candlestick row patterns, which are consecutive candles in the same direction forming a momentum signal. Entry conditions trigger when a specified number of consecutive bullish or bearish candles are detected, with the trade opened on the next candle in the direction of the detected row. Exit conditions rely on fixed stop loss and take profit levels, potentially including a trailing stop mechanism for profit protection. Position sizing uses either fixed lots or an account-balance-proportional calculation method. Money management provides stop loss parameters to control per-trade risk, but lacks dynamic position sizing or volatility-based lot calculation. The overall strategy is straightforward and effective in strongly trending markets, but may suffer frequent stop outs during choppy or ranging conditions.
Strengths
- Clear and simple strategy logic that is easy to understand and debug
- Separate BEAR and BULL EAs allow flexible control over trade direction
- Stop loss, take profit, and trailing stop mechanisms provide basic risk control
Weaknesses
- Lacks market environment filtering, prone to frequent stop outs in choppy markets
- Missing money management module for dynamic position sizing based on account risk
- Row pattern detection is overly simplistic without volume or other confirmation indicators
Possible improvements
- Add ADX or volatility filter to avoid entries in choppy market conditions
- Implement ATR-based dynamic stop loss, take profit, and position sizing calculation
Risk assessment
Overall risk: Medium
- No market environment filter may cause consecutive losses in ranging markets
- Fixed stop loss may be inappropriate for varying volatility conditions
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
LotSize | 0.1 | Default trading lot size |
StopLoss | 50 | Stop loss in points per level, 0 for none |
TakeProfit | 100 | Take profit in points per level |
RowLength | 3 | Consecutive same-direction bars for signal |
MagicNumber | 12345 | EA magic number for order identification |
TrailingStop | 30 | Trailing stop activation distance in points |
Similar Breakout EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.