EA-1384 · Trend Following

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

RiskMedium
Rating★★★☆☆
TypeTrading EA
TimeframesH1, H4, D1
IndicatorsADX, DI+, DI-, ColorXADX
AuthorCopyright © 2012, Nikolay Kositsin

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

Code quality3.0
Strategy logic3.0
Risk management2.0
Robustness3.0
Innovation3.0
Documentation2.0
Overall2.7

Parameters

ParameterDefaultDescription
MM-0.1Money share or lot size; negative = fixed lots
StopLoss_1000Stop loss in points
TakeProfit_2000Take profit in points
Deviation_10Max price slippage deviation in points
BuyPosOpentrueAllow open long position
SellPosOpentrueAllow open short position
BuyPosClosetrueAllow close long position
SellPosClosetrueAllow close short position
InpInd_TimeframePERIOD_H4Indicator timeframe
XMA_MethodMODE_T3Histogram smoothing method
ADX_Period14ADX smoothing period
ADX_Phase100Smoothing parameter, range -100 to +100
IPCPRICE_CLOSE_Price type used for indicator calculation
ExtraHighLevel30Trend strength threshold for trade execution
SignalBar1Bar index for entry signal

Similar Trend Following EAs

Backtests are historical simulations and do not guarantee future results. Not financial advice.

Get the weekly Arena report

One email a week: ranking changes, new signals and new research. No spam; unsubscribe any time.