Brandy
Brandy is a trend-following Expert Advisor that uses moving average crossovers and momentum confirmation to identify and ride market trends. It enters trades when fast and slow moving averages cross with confirming momentum signals, and employs trailing stops to protect profits while allowing trends to develop. The EA includes basic risk management with stop loss and take profit levels.
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 core concept of the Brandy strategy is trend following based on moving average crossovers, using golden cross and death cross of fast and slow MAs to determine trend direction. Entry conditions require the fast MA to cross the slow MA with momentum confirmation from indicators such as RSI or MACD to avoid false breakouts. Exit conditions include hitting stop loss or take profit levels, as well as trailing stop activation to lock in profits. Position sizing uses either fixed lots or percentage-based calculation relative to account balance, without employing martingale or grid strategies. Money management includes maximum position limits and per-trade risk controls, but lacks comprehensive account-level risk management mechanisms.
Strengths
- Clear trend-following logic with significant profit potential during strong trending markets
- Trailing stop mechanism protects floating profits and prevents giving back gains
- No martingale or grid strategies employed, keeping risk relatively controlled
- Momentum confirmation filters false signals and reduces losses from fake breakouts
Weaknesses
- Frequent MA crossovers in ranging markets generate false signals leading to consecutive losses
- Lacks market regime detection to automatically distinguish trending from ranging conditions
- Fixed stop loss and take profit don't account for volatility changes, showing poor adaptability across different market conditions
- Position sizing is simplistic without dynamic adjustment based on account risk
- Lacks multi-timeframe confirmation, limiting signal reliability from a single timeframe
Possible improvements
- Add a market regime filter (e.g., ADX or Bollinger Band width) to reduce trade frequency in ranging markets
- Introduce ATR-based dynamic stop loss and take profit to adapt risk parameters to market volatility
- Add multi-timeframe confirmation mechanism to improve signal reliability
Risk assessment
Overall risk: Medium
- Fixed stop loss may suffer significant slippage during volatile market conditions
- Lacks account-level maximum drawdown control
- Consecutive small losses in ranging markets can accumulate into significant drawdown
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
FastMA_Period | 10 | Fast moving average period |
SlowMA_Period | 50 | Slow moving average period |
MA_Method | MODE_SMA | Moving average calculation method |
StopLoss | 500 | Stop loss in points |
TakeProfit | 1000 | Take profit in points |
TrailingStop | 300 | Trailing stop in points |
LotSize | 0.1 | Fixed trading lot size |
MagicNumber | 20548 | EA magic number |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.