Exp_ColorZerolagTriX
This EA trades based on crossover signals from the ColorZerolagTriX custom indicator, which is a zero-lag weighted combination of five TriX (Triple Exponential Moving Average) oscillators. It opens buy positions when the fast oscillator crosses above the slow one and sell positions on the opposite crossover, 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 | — | — | — | — | — | Custom indicator approximated |
| GBPUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Custom indicator approximated |
| USDJPY | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Custom indicator approximated |
| XAUUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Custom indicator approximated |
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 strategy concept is based on crossover signals from a zero-lag TriX oscillator, which combines five TriX oscillators with different periods (8, 21, 34, 55, 89) using weighted factors to eliminate lag and produce more timely trend reversal signals. Entry conditions: a buy signal is generated when the fast line Osc1 crosses above the slow line Osc2, and a sell signal is generated when Osc1 crosses below Osc2. Exit conditions include fixed pip-based stop loss (1000 pips) and take profit (2000 pips), as well as an active position closing mechanism based on reverse crossover signals. Position sizing uses either a margin-based ratio (MM=0.1) or fixed lot mode, switchable via the MMMode parameter. In terms of money management, the stop loss to take profit ratio is 1:2, which provides a reasonable risk-reward ratio, but there is no volatility-based dynamic position sizing. Signals are only calculated on new bars to avoid repeated trading, and the SignalBar parameter controls signal delay for confirmation.
Strengths
- Zero-lag TriX combination effectively reduces the lag of traditional moving averages, producing more timely signals
- Uses five TriX oscillators with Fibonacci-based periods (8-89) and weighted factors for multi-layered trend detection
- Stop loss to take profit ratio of 1:2 provides a reasonable risk-reward ratio, with active closing on reverse crossover signals
- New bar detection mechanism prevents repeated trading on the same signal, reducing overtrading risk
- Buy/sell open and close controls are independently configurable, offering high flexibility
Weaknesses
- Fixed stop loss of 1000 pips and take profit of 2000 pips do not adapt to varying market volatility—too wide in low volatility and too tight in high volatility
- No spread filter, which may lead to false signals or unreasonable entries on instruments with wide spreads
- No position check or duplicate order protection, potentially opening multiple positions on the same signal
- Depends on the custom indicator ColorZerolagTriX—the EA cannot run if the indicator file is missing
- No trailing stop mechanism to lock in floating profits on winning positions
Possible improvements
- Add ATR-based dynamic stop loss and take profit to adapt risk management to changing market volatility
- Add position check and duplicate signal filtering to prevent repeated entries on the same signal; add spread filter to avoid unfavorable entries in high-spread environments
Risk assessment
Overall risk: Medium
- No position check may lead to repeated entries on the same signal, causing position accumulation risk
- Fixed stop loss does not adapt to market volatility changes, potentially causing larger-than-expected losses in extreme market conditions
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | 0.1 | Money management ratio controlling lot size |
MMMode | LOT | Lot calculation mode: fixed lot or margin percentage |
StopLoss_ | 1000 | Stop loss in points |
TakeProfit_ | 2000 | Take profit in points |
Deviation_ | 10 | Maximum allowed slippage in points |
BuyPosOpen | true | Allow opening buy positions |
SellPosOpen | true | Allow opening sell positions |
BuyPosClose | true | Allow closing buy positions |
SellPosClose | true | Allow closing sell positions |
InpInd_Timeframe | PERIOD_H4 | Indicator calculation timeframe |
SignalBar | 1 | Signal confirmation bar index |
smoothing | 15 | Smoothing period |
IPC | PRICE_CLOSE | Applied price type |
Factor1 | 0.05 | First TriX weight factor |
TriX_period1 | 8 | First TriX period |
Factor2 | 0.10 | Second TriX weight factor |
TriX_period2 | 21 | Second TriX period |
Factor3 | 0.16 | Third TriX weight factor |
TriX_period3 | 34 | Third TriX period |
Factor4 | 0.26 | Fourth TriX weight factor |
TriX_period4 | 55 | Fourth TriX period |
Factor5 | 0.43 | Fifth TriX weight factor |
TriX_period5 | 89 | Fifth TriX period |
Similar Momentum EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.