Exp_BinaryWave_StDev
This EA trades based on the BinaryWave_StDev custom indicator, which combines seven weighted technical indicators (MA, MACD, OsMA, CCI, Momentum, RSI, ADX) into a composite binary wave signal with standard deviation filtering. It supports three signal modes (point signals, direct line direction, or disabled) for both entry and exit, with configurable money management and lot sizing.
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 concept of this strategy is to combine seven classic technical indicators with configurable weights into a composite BinaryWave value, then filter it through standard deviation channels to produce more reliable trading signals. Entry conditions offer two modes: POINT mode detects arrow signals in indicator buffers (non-EMPTY_VALUE values), while DIRECT mode detects inflection points on the BinaryWave line (V-bottom for buy, inverted-V-top for sell). Exit conditions also support two modes: POINT mode detects opposite arrow signals, while DIRECT mode detects BinaryWave line direction changes (close long when line declines, close short when line rises). Position sizing supports five modes: free margin percentage, balance percentage, loss-adjusted free margin, loss-adjusted balance, and fixed lot size. Money management uses the MM parameter to control risk ratio, combined with fixed stop loss and take profit in points for risk control. The strategy applies a configurable smoothing method for secondary smoothing of the BinaryWave, adjusting standard deviation channel width via dK1 and dK2 coefficients to reduce false signals.
Strengths
- Multi-indicator weighted combination improves signal robustness, remaining effective even when individual indicators fail
- Standard deviation channel filtering effectively reduces false signals, with dK1/dK2 dual coefficients allowing flexible channel width adjustment
- Independent configurable entry and exit signal modes provide extremely high strategy flexibility
- Multiple position sizing modes accommodate traders with different risk preferences
- NewBar detection prevents redundant calculations and duplicate entries within the same bar
Weaknesses
- Equal weighting for all seven indicators may be suboptimal, lacking an adaptive weight adjustment mechanism
- Fixed stop loss and take profit in points rather than ATR-based dynamic levels leads to inconsistent performance across varying volatility environments
- No spread filter mechanism, potentially causing unnecessary losses on high-spread instruments
- Lacks position count checking, which could lead to over-opening positions in extreme conditions
- Depends on the external custom indicator BinaryWave_StDev; EA will fail to run if the indicator file is missing
Possible improvements
- Add ATR-based dynamic stop loss and take profit mechanism to replace fixed point settings
- Add a spread filter to pause trading when spread is excessively wide, protecting capital
- Implement adaptive weight optimization for indicators or at least provide weight presets
Risk assessment
Overall risk: Medium
- Fixed stop loss/take profit in points creates unbalanced risk across volatility regimes — too wide in low volatility, too narrow in high volatility
- No spread filter may cause slippage losses during low liquidity or news events
- Indicator weights require manual optimization; incorrect weight configuration can render the strategy ineffective
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | 0.1 | Money management parameter, lots or ratio |
MMMode | LOT | Margin calculation mode (fixed lots, balance percentage, etc.) |
StopLoss_ | 1000 | Stop loss in points |
TakeProfit_ | 2000 | Take profit in points |
Deviation_ | 10 | Maximum allowed slippage |
BuyPosOpen | POINT | Buy entry signal mode (dot signal/direct direction/disabled) |
SellPosOpen | POINT | Sell entry signal mode |
BuyPosClose | DIRECT | Close long positions on reverse signal |
SellPosClose | DIRECT | Allow closing short positions on signal reversal |
InpInd_Timeframe | PERIOD_H4 | trend_arrows indicator timeframe |
WeightMA | 1.0 | MA indicator weight |
WeightMACD | 1.0 | MACD indicator weight |
WeightOsMA | 1.0 | OsMA indicator weight |
WeightCCI | 1.0 | CCI indicator weight |
WeightMOM | 1.0 | Momentum indicator weight |
WeightRSI | 1.0 | RSI indicator weight |
WeightADX | 1.0 | ADX indicator weight |
MAPeriod | 13 | MA period |
FastMACD | 12 | MACD fast EMA period |
SlowMACD | 26 | MACD slow EMA period |
SignalMACD | 9 | MACD signal line period |
CCIPeriod | 14 | CCI period |
MOMPeriod | 14 | Momentum indicator period |
RSIPeriod | 14 | RSI period |
ADXPeriod | 14 | ADX period |
bMA_Method | MODE_JJMA | BinaryWavesmoothing method |
bLength | 5 | BinaryWavesmoothing period |
bPhase | 100 | Smoothing phase parameter |
dK1 | 1.5 | Standard deviation multiplier 1 |
dK2 | 2.5 | Standard deviation multiplier 2 |
std_period | 9 | Standard deviation period |
SignalBar | 1 | Signal bar index (0 for current bar) |
Similar Momentum EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.