Exp_ColorXTRIX_Histogram
This EA trades based on the ColorXTRIX_Histogram custom indicator, which is a triple-smoothed momentum oscillator. It opens buy positions when the histogram turns upward and sell positions when it turns downward, with configurable position closing on signal reversal.
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
This EA uses the ColorXTRIX_Histogram indicator as its core strategy, which calculates momentum based on a triple exponentially smoothed algorithm (XTRIX). Entry conditions: a buy position opens when the histogram value turns from declining to rising (Value[0]>Value[1] and Value[1]<Value[2]); a sell position opens when the histogram value turns from rising to declining (Value[0]<Value[1] and Value[1]>Value[2]). Exit conditions rely on signal reversal-based closing and fixed stop-loss/take-profit settings, with independent control for buy and sell direction opening and closing. Position sizing is controlled through the MM parameter with multiple margin modes including fixed lot, balance percentage, and free margin percentage. The strategy employs multiple smoothing methods (JJMA, JurX, ParMA, T3, VIDYA, AMA) to reduce noise, but this introduces significant lag. The strategy lacks filters for market volatility, spread, and trading sessions, making it prone to frequent false signals in ranging markets.
Strengths
- Uses multiple smoothing algorithms to reduce market noise, resulting in relatively high signal quality
- Independent control for buy/sell direction opening and closing provides good flexibility
- Supports multiple money management modes and position sizing methods
- Fixed stop-loss and take-profit provide risk control
- Default H4 timeframe avoids short-term noise interference
Weaknesses
- No spread filter, may enter at unfavorable prices during high-spread periods
- No trading session filter, may trade during low-liquidity periods
- Triple smoothing causes signal lag, potentially missing optimal entry points
- Default stop-loss of 1000 points and take-profit of 2000 points may be excessively large for some instruments
- No position count check, may open duplicate positions when existing positions are already held
- Indicator handle creation failure only prints error without resource cleanup
Possible improvements
- Add spread filter and trading session filter to avoid entering under unfavorable conditions
- Add position check logic to prevent duplicate opening in the same direction
- Add volatility-adaptive stop-loss/take-profit mechanism instead of fixed point settings
- Add trailing stop functionality to protect floating profits
Risk assessment
Overall risk: Medium
- No spread filter or trading session filter, may enter under unfavorable conditions
- No position count check, may lead to duplicate position opening increasing risk exposure
- Fixed 1000-point stop-loss may be excessively risky for some instruments
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 | true | Allow buy positions |
SellPosOpen | true | Allow sell positions |
BuyPosClose | true | Close long positions on reverse signal |
SellPosClose | true | Allow closing short positions on signal reversal |
InpInd_Timeframe | PERIOD_H4 | trend_arrows indicator timeframe |
XMA_Method | MODE_JJMA | smoothing method |
XLength | 5 | smoothing period |
XPhase | 100 | Smoothing phase (JJMA: -100~+100, VIDYA: CMO period, AMA: fast MA period) |
Smooth | 5 | Signal line smoothing period |
Mom_Period | 1 | momentumcalculation period |
IPC | PRICE_CLOSE_ | Applied price type |
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.