Exp_BlauCMomentum
This EA trades based on the BlauCMomentum custom indicator, which applies triple-smoothed momentum analysis. It supports two entry modes: zero-line breakdown (crossover) and direction change (twist), with configurable position sizing and stop-loss/take-profit management.
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 | — | — | — | — | — | Run error |
| GBPUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Run error |
| USDJPY | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Run error |
| XAUUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Run error |
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 EA uses William Blau's C-Momentum indicator as its core signal source, which applies triple smoothing to momentum values to filter out market noise. The entry strategy offers two modes: breakdown mode triggers when the indicator crosses the zero line — buying when Value[1]>0 and Value[0]<=0, selling when Value[1]<0 and Value[0]>=0; twist mode triggers on direction change — buying when Value[1]<Value[2] and Value[0]>=Value[1], selling when Value[1]>Value[2] and Value[0]<=Value[1]. Exit conditions include fixed stop-loss and take-profit in points, plus counter-signal exits where an opposing signal closes the current position. Position sizing supports either a fixed lot size or a percentage-of-deposit approach, controlled by the MM parameter and MMMode enumeration. Money management uses the MM parameter where positive values represent deposit share and negative values directly specify lot size. The EA implements a new bar check mechanism to prevent repeated trades on the same bar, and uses a Recount flag to retry when data copy operations fail.
Strengths
- Triple-smoothed momentum indicator effectively filters market noise for higher signal quality
- Two entry modes (zero-line breakout and direction twist) provide strategic flexibility
- New bar check mechanism prevents repeated trades on the same bar
- Complete stop-loss and take-profit parameters provide solid risk control
- Supports multiple price types and smoothing algorithms for different market conditions
Weaknesses
- Default 1000-point SL and 2000-point TP are relatively large for H4 timeframe, potentially leading to significant single-trade losses
- No spread filter, may enter trades inappropriately during high-spread conditions
- Depends on the custom BlauCMomentum indicator file, EA fails if the indicator is missing
- Lacks position existence check, may open duplicate positions in the same direction
- SignalBar=1 uses confirmed bar signals, which may cause delayed entries
Possible improvements
- Add a spread filter to avoid entering during high-spread periods
- Add position existence check to prevent duplicate same-direction positions
- Implement a trailing stop feature to protect accumulated profits
Risk assessment
Overall risk: Medium
- Default 1000-point stop-loss is large, single trade loss may be significant
- No spread filter means slippage and spread can erode profits
- Lack of position check may lead to duplicate positions amplifying risk
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | 0.1 | Capital fraction per trade; negative value for fixed lots |
MMMode | LOT | Lot calculation: free margin/balance/loss ratio/fixed lot |
StopLoss_ | 1000 | Stop loss in points |
TakeProfit_ | 2000 | Take profit in points |
Deviation_ | 10 | Max allowed price slippage in points |
BuyPosOpen | true | Allow opening long positions |
SellPosOpen | true | Allow opening short positions |
BuyPosClose | true | Allow closing long positions |
SellPosClose | true | Allow closing short positions |
Mode | twist | Entry algorithm: breakdown (zero-line) or twist (direction change) |
InpInd_Timeframe | PERIOD_H4 | Indicator timeframe |
XMA_Method | MODE_EMA | Smoothing method (EMA/SMA/SMMA/LWMA etc.) |
XLength | 1 | Momentum period |
XLength1 | 20 | First smoothing depth |
XLength2 | 5 | Second smoothing depth |
XLength3 | 3 | Third smoothing depth |
XPhase | 15 | Smoothing parameter (for JMA and adaptive methods) |
IPC1 | PRICE_CLOSE | Close price constant type |
IPC2 | PRICE_OPEN | Open price constant type |
SignalBar | 1 | Bar index for entry signal (0=current, 1=completed) |
Similar Momentum EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.