Exp_ColorXADX
This EA trades based on the ColorXADX custom indicator, which enhances the standard ADX with advanced smoothing algorithms. It enters buy positions when the DI+ line crosses above DI- with ADX above a threshold, and sell positions on the opposite crossover, both confirmed by trend strength. Positions are managed with fixed stop loss and take profit levels.
Open the interactive view (equity curve, symbol switch)Key facts
Backtest results (H1, about 1 year)
Not backtested yet — this EA could not be converted automatically.
Strategy analysis
The strategy concept is based on the ADX trend strength indicator combined with DI directional line crossovers to determine trend direction and entry timing. Entry conditions require: a buy signal triggers when DI+ crosses above DI- (previous DI+ was below DI-, current DI+ is above DI-) and ADX exceeds the ExtraHighLevel threshold; a sell signal triggers on the opposite crossover with the same ADX filter. Exit conditions are twofold: fixed stop loss and take profit in points handle standard exits, while signal-based exits close opposite positions when DI lines cross. Position sizing is controlled by the MM parameter where negative values represent fixed lot sizes and positive values represent a share of the deposit. Money management relies on functions from the TradeAlgorithms.mqh library but lacks maximum position count limits and account equity protection mechanisms. The strategy employs T3 smoothing on ADX data to reduce noise, and the SignalBar parameter allows users to select which bar index to use for signal extraction.
Strengths
- ADX trend strength filter avoids frequent trading in ranging markets, reducing false signals
- Supports multiple advanced smoothing algorithms (T3, JJMA, JurX, etc.) to effectively reduce indicator noise
- Provides buy/sell and position management toggles for flexible control over trading direction and operations
- New bar detection mechanism prevents repeated trades on the same bar
- Fixed stop loss and take profit settings provide basic risk control
Weaknesses
- No position count limit, potentially leading to over-exposure through repeated entries in strong trends
- Default stop loss of 1000 points and take profit of 2000 points are excessively large and not suitable for all instruments
- No spread filter, which may result in unfavorable entries during high-spread conditions
- Lacks drawdown protection or account equity monitoring mechanisms
- Immediate position closure on signal reversal may be overly aggressive without a buffer zone
Possible improvements
- Add maximum concurrent position limit and maximum account drawdown protection
- Add a spread filter to prevent opening positions when spread is too wide
- Add a trailing stop or break-even feature to protect floating profits
Risk assessment
Overall risk: Medium
- No position count limit, potentially leading to over-weighted positions through consecutive entries in trending markets
- Fixed stop loss and take profit not dynamically adjusted based on ATR or volatility, may result in stops that are too wide or too narrow
- Positive MM mode calculates lot size as a share of deposit, which may result in oversized positions during extreme market conditions
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | -0.1 | Money share or lot size; negative = fixed lots |
StopLoss_ | 1000 | Stop loss in points |
TakeProfit_ | 2000 | Take profit in points |
Deviation_ | 10 | Max price slippage deviation in points |
BuyPosOpen | true | Allow open long position |
SellPosOpen | true | Allow open short position |
BuyPosClose | true | Allow close long position |
SellPosClose | true | Allow close short position |
InpInd_Timeframe | PERIOD_H4 | Indicator timeframe |
XMA_Method | MODE_T3 | Histogram smoothing method |
ADX_Period | 14 | ADX smoothing period |
ADX_Phase | 100 | Smoothing parameter, range -100 to +100 |
IPC | PRICE_CLOSE_ | Price type used for indicator calculation |
ExtraHighLevel | 30 | Trend strength threshold for trade execution |
SignalBar | 1 | Bar index for entry signal |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.