Exp_AFL_WinnerV2
This EA trades based on the AFL_WinnerV2 custom indicator, which produces color-based momentum signals (values 0-3). It opens buy positions when the indicator shifts to bullish momentum (value 3) and sell positions when it shifts to bearish momentum (value 0), with configurable signal confirmation and position closing logic. Position sizing uses a money management system with multiple modes including lot-based, balance percentage, and free margin percentage.
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
None of the usual blow-up patterns were found in the code, 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 strategy of this EA is a momentum-following approach based on the AFL_WinnerV2 indicator. Entry conditions are divided into two categories: the first triggers a buy signal when the indicator value becomes 3 (bullish) and the previous bar was not 3, and the second triggers a sell signal when the indicator value becomes 0 (bearish) and the previous bar was not 0, with both signal types independently controllable via BuyPosOpen1/2 and SellPosOpen1/2 switches. Exit conditions include closing short positions when the indicator value exceeds 1 and closing long positions when the indicator value falls below 2, also controllable via BuyPosClose and SellPosClose switches. Position sizing employs five modes: fixed lot, balance percentage, free margin percentage, balance minus loss percentage, and free margin minus loss percentage. Money management uses the MM parameter to control risk ratio (default 0.1), with stop loss set at 1000 points and take profit at 2000 points, yielding a risk-reward ratio of 1:2. The strategy implements a new bar detection mechanism to avoid repeated signals, but lacks slippage filtering and spread filtering, which may pose additional risks in highly volatile markets.
Strengths
- Offers multiple money management modes with high flexibility to suit different risk preferences
- Entry and exit signals can be independently toggled, providing fine-grained strategy configuration
- Implements new bar detection to prevent repeated trades within the same bar
- Reasonable stop loss and take profit settings with a 1:2 risk-reward ratio
- Supports multi-timeframe analysis with indicator timeframe independent of chart period
Weaknesses
- Lacks spread filtering mechanism, which may lead to unfavorable fills in high-spread environments
- Stop loss of 1000 points and take profit of 2000 points are large and may not suit all instruments and market conditions
- Depends on the custom AFL_WinnerV2 indicator whose logic is opaque, making signal reliability hard to verify
- No maximum position count limit, potentially leading to over-trading on consecutive signals
- When SignalBar is 0, new bar detection is skipped, which may cause repeated trades within the same bar
Possible improvements
- Add spread filtering and maximum position count limits to improve trading safety
- Implement trailing stop or dynamic take-profit functionality to better protect floating profits
Risk assessment
Overall risk: Medium
- Lack of spread filtering may cause significant slippage in low-liquidity markets
- No maximum position limit means consecutive signals could lead to excessive exposure
- Skipping new bar check when SignalBar=0 may produce duplicate trade risk
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | 0.1 | Money management ratio parameter, controls position sizing |
MMMode | LOT | Position sizing mode: free margin/balance/post-loss free margin/post-loss balance/fixed lot |
StopLoss_ | 1000 | Stop loss in points |
TakeProfit_ | 2000 | Take profit in points |
Deviation_ | 10 | Maximum allowed slippage |
BuyPosOpen1 | true | Enable first type buy signal |
BuyPosOpen2 | true | Enable second type buy signal |
SellPosOpen1 | true | Enable first type sell signal |
SellPosOpen2 | true | Enable second type sell signal |
BuyPosClose | true | Enable buy position close signal |
SellPosClose | true | Enable sell position close signal |
InpInd_Timeframe | PERIOD_H6 | Indicator timeframe |
iAverage | 5 | Averaging period |
iPeriod | 10 | Main calculation period |
iMA_Method | MODE_SMA_ | smoothing method |
iLength | 5 | Smoothing length |
iPhase | 15 | Smoothing phase parameter |
IPC | PRICE_WEIGHTED_ | Price type applied to the indicator |
VolumeType | VOLUME_TICK | Volume type |
Shift | 0 | Indicator offset |
HighLevel | +40 | Overbought level line |
LowLevel | -40 | Oversold level line |
SignalBar | 1 | Bar index used to retrieve trading signal |
Similar Momentum EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.