Bully Bear AI
- Experts
- Versão: 3.17
- Atualizado: 22 outubro 2026
- Ativações: 10
Bully Bear AI
Expert Advisor Description — Version 3.00
MQL5 · MetaTrader 5 · Bollinger Bands + Trend / Sideways Dual-Path Strategy
1. Overview
Bully Bear AI (BullyBearAI) is a fully automated MetaTrader 5 Expert Advisor built around Bollinger Bands (period 30) with dual-path logic: a trend path for directional markets and an optional sideways path with first-peak take-profit. Version 3.00 adds disciplined variable risk, high-impact news filtering via the MT5 Economic Calendar, daily trade/loss limits, volume-limit safety for Market validation, and optional chart indicator display.
2. Recommended UsePrimary focus from optimisation work: EURUSD (or EURUSDm) on M30, also tested on H1/H4 majors.
| Item | Recommendation |
| Symbol | EURUSD / EURUSDm (primary); GBPUSD, USDJPY majors |
| Timeframe | M30 (primary); H1 / H4 supported |
| Session | 08:00–17:00 server time (London–NY core) |
| Account type | Hedge preferred; netting supported with volume-limit guards |
| Min. capital | Depends on risk %; |
3. Strategy Logic
Entries require Fast MA above/below Slow MA with Slow MA slope alignment, price on the correct side of Fast MA, ADX at or above MinADX, sufficient BB width vs ATR, RSI in a mid-band range, optional H4 MA bias, and a pullback candle structure. Stop-loss is ATR-based (default 2×ATR); take-profit targets TP_RR × risk distance (default 3R).
When AllowSideways is enabled and the market is classified as sideways (low ADX, tight BB, or price between MAs), the EA uses mean-reversion zones near the outer half of the Bollinger Band with a first-peak (swing) take-profit and tighter ATR stop.
Optional partial take-profit at PartialTP_RR (default 1.2R, 50% volume), breakeven after BreakevenATR, trailing stop, and ReleaseTPOnTrail (clears fixed TP once trail has covered a fraction of the original TP so runners can extend). Exit-on-trend-flip and exit-on-opposite-band are available but off by default in the ideal set.
4. Variable Risk (v3.00)When UseVariableRisk is true, position size uses an active risk percent that adapts only under strict conditions — designed to cut risk after repeated full stop-outs and to scale up only after a sustained run of real wins.
| Concept | Behaviour |
| Win | Net profit (profit+swap+commission) > VarRiskBE_Money (default $0.50). Break-even is NOT a win. |
| Win streak | Each true win increments the streak. Risk doubles only on the Nth consecutive win (WinsToDoubleRisk = 4), then streak resets. |
| Full SL loss | Only a close at the ORIGINAL stop-loss (or stop-out), not BE/trail stops. First consecutive full-SL does not change risk; second (LossesToHalfRisk = 2) halves active risk. |
| Protected exit | BE, trail, manual, or other non–full-SL exits: risk unchanged; win streak cleared. |
| Ceiling / floor | Active risk never exceeds RiskPercent; never falls below VarRiskMinPercent. |
| Persistence | Active risk and streaks stored in terminal GlobalVariables per symbol + magic. |
5. News Filter
Uses the built-in MT5 Economic Calendar (no external URL). Pauses new entries NewsMinutesBefore and NewsMinutesAfter high-impact (red) events whose event time falls inside the configured session window. By default only events for the chart’s base and quote currencies are considered. Open positions are still managed; only new signals are blocked. Terminal must be online for calendar updates. In Strategy Tester, calendar data may be sparse — keep NewsBlockIfNoData = false.
6. Daily LimitsMaxTradesPerDay (0 = unlimited) and MaxLossesPerDay (default 1) count closed deals for this symbol and magic on the server day. After the loss limit, no new entries until the next day.

