Exp_BW-wiseMan-1
This EA trades based on the BW-wiseMan-1 custom indicator, which is derived from Bill Williams' Alligator indicator (jaw, teeth, lips). It generates buy signals when the upper buffer has a non-empty value and sell signals when the lower buffer has a non-empty value, with an option to trade retrogradely (against the trend). Positions are opened and closed based on these signals with configurable 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
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 based on Bill Williams' Alligator indicator, using three smoothed moving averages of different periods (jaw 13, teeth 8, lips 5) to determine market trend states. Entry conditions are: go long when the upper buffer of the indicator produces a valid signal value, and go short when the lower buffer produces a valid signal value, with signals generated from the alignment relationship of the Alligator lines and analysis of the number of bars specified by the back parameter. Notably, the retrogradely parameter allows counter-trend trading by reversing the read order of the indicator buffers, converting trend-following signals into counter-trend ones. Exit conditions include hard exits via stop loss and take profit, as well as closing positions by searching backward through historical bars for opposing signals. Position sizing uses the MM parameter to control the share of deposit per trade, supporting both fixed lot and percentage-based margin modes. Money management employs StopLoss and TakeProfit parameters for fixed point-based exits, while the Deviation parameter controls the maximum allowable price slippage.
Strengths
- Based on the classic Bill Williams Alligator indicator with mature theoretical foundation widely used for trend identification
- Provides rich parameter controls including buy/sell direction switches, counter-trend option, and lot calculation modes for high flexibility
- Includes stop loss and take profit protection with default SL 1000 and TP 2000 points, achieving a reasonable 1:2 risk-reward ratio
- Uses IsNewBar mechanism to calculate signals only on new bars, avoiding per-tick redundant computation and reducing resource consumption
- Supports both trend-following and counter-trend trading modes to adapt to different market conditions
Weaknesses
- Depends on external custom indicator BW-wiseMan-1 whose source code is not visible, reducing full transparency of the strategy logic
- The backward historical bar search for opposing signals to trigger position closes may be inefficient with large loop overhead when bar count is high
- Lacks spread filtering mechanism, potentially entering at unfavorable prices during wide spreads, especially impactful for counter-trend trades
- No position check logic, potentially opening duplicate positions in the same direction and causing position stacking risk
- SignalBar defaults to 1 using closed bar signals, but setting to 0 may cause frequent signal changes on the current bar leading to repeated trading
Possible improvements
- Add spread filtering to pause entry when spread exceeds a threshold, avoiding unfavorable slippage costs
- Add position check logic to prevent duplicate same-direction entries that cause excessive position concentration
- Add a maximum search range limit for the historical bar backward search to prevent excessive loop duration affecting trade execution efficiency
Risk assessment
Overall risk: Medium
- Dependency on external custom indicator means EA cannot run if the indicator file is missing or version mismatched
- Counter-trend trading mode is enabled by default, potentially causing consecutive losses during strong trending markets
- Lack of position check and duplicate entry protection may lead to position stacking risk
- Unbounded backward search for close signals may affect trade execution timeliness in extreme cases
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | 0.1 | Deposit ratio per trade |
MMMode | LOT | Lot calculation method (fixed lots/balance/free margin etc.) |
StopLoss_ | 1000 | Stop loss in points |
TakeProfit_ | 2000 | Take profit in points |
Deviation_ | 10 | Max price slippage in points |
BuyPosOpen | true | Allow buy to open |
SellPosOpen | true | Allow sell to open |
BuyPosClose | true | Allow closing long positions |
SellPosClose | true | Allow closing short positions |
InpInd_Timeframe | PERIOD_H1 | Timeframe for indicator calculation |
retrogradely | true | Enable counter-trend trading |
back | 2 | Number of bars to analyze |
jaw_period | 13 | Alligator jaw line period |
jaw_shift | 8 | Jaw line horizontal shift |
teeth_period | 8 | Alligator teeth line period |
teeth_shift | 5 | Teeth line horizontal shift |
lips_period | 5 | Alligator Lips line period |
lips_shift | 3 | Lips line horizontal shift |
ma_method | MODE_SMMA | Smoothing moving average type |
applied_price | PRICE_MEDIAN | Applied price type |
SignalBar | 1 | Bar index for entry signal |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.