Exp_ColorXvaMA_Digit_StDev
This EA trades based on the ColorXvaMA_Digit indicator with StDev (Standard Deviation) filtering. It enters positions when the colored moving average changes direction, confirmed by standard deviation volatility conditions. The strategy combines a digitally-smoothed variable-period moving average with volatility filtering for trend reversal entries.
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 is based on the ColorXvaMA_Digit indicator's color-changing moving average signal, which is a digitally-smoothed variable-period moving average that changes color to indicate trend direction shifts. Entry conditions require the moving average color to switch and the standard deviation (StDev) to reach a specified threshold, where the StDev filter confirms sufficient volatility to support a valid trend reversal. Exit conditions primarily rely on the opposite moving average color signal or user-configured stop-loss and take-profit levels. Position sizing uses a fixed lot approach controlled by the MM parameter, with an optional risk-percentage mode available. Money management offers a percentage risk mode but lacks dynamic position adjustment based on account equity changes. The overall strategy is mean-reversion in nature, entering at trend reversal points and relying on volatility confirmation for signal validity.
Strengths
- Standard deviation filtering effectively eliminates low-volatility false signals, improving entry quality
- The digitally-smoothed variable-period moving average has good noise filtering capability, producing more stable signals
- Multiple position sizing modes (fixed lots and risk percentage) provide good flexibility
Weaknesses
- Stop-loss and take-profit default to 0, creating enormous risk exposure when not configured
- Lacks new bar check mechanism, potentially opening duplicate positions within the same bar
- Mean reversion strategy is prone to consecutive losses in strong trending markets without trend filter protection
Possible improvements
- Add a strong trend filter mechanism such as a larger timeframe moving average direction check to avoid counter-trend trading in unilateral markets
- Set non-zero default values for stop-loss and take-profit, and add new bar checking to prevent duplicate position openings
Risk assessment
Overall risk: High risk
- Stop-loss and take-profit default to 0, providing no risk protection when not manually configured
- Lack of new bar check may cause multiple position openings within the same bar leading to overexposure
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MoneyRisk | 1.0 | Money risk percentage |
StopLoss | 0 | Stop loss in points, 0 means no stop loss |
TakeProfit | 0 | Take profit in points, 0 means no take profit |
PeriodMA | 14 | ColorXvaMA_Digit MA period |
StDevPeriod | 14 | Standard deviation period |
StDevLevel | 1.5 | Standard deviation threshold level |
TrailingStop | 0 | Trailing stop in points, 0=disabled |
TrailingStep | 0 | Trailing stop adjustment step in points |
MM | 0 | Money management ratio parameter, controls position sizing |
Lots | 0.1 | Fixed trading lot size |
Similar Mean Reversion EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.