EA-16872 · Trend Following

Exp_ColorJFatl_Digit_ReOpen

This EA trades based on the ColorJFatl_Digit indicator, which is a JMA-smoothed FATL (Fast Adaptive Trend Line) with digit rounding. It opens initial positions on trend direction changes and then pyramids (adds) into existing positions at fixed price step intervals (ReOpen mechanism), up to a configurable maximum number of add-on trades per position, with configurable SL/TP on each entry.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Blow-up riskLow
Rating★★★☆☆
TypeTrading EA
TimeframesH4, D1
IndicatorsJMA, FATL, ColorJFatl_Digit
Author—

Backtest results (H1, about 1 year)

SymbolP&LAnnualMax DDTradesWin rateSharpeRecoveryLosing streakPer tradeStatus
EURUSD0.00%0.00%0.00%0—————Not convertible yet
GBPUSD0.00%0.00%0.00%0—————Not convertible yet
USDJPY0.00%0.00%0.00%0—————Not convertible yet
XAUUSD0.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

  • Has no stop loss or trailing stop

On its own this is not a typical blow-up pattern, 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 a trend-following system based on the ColorJFatl_Digit indicator, which applies JMA smoothing to the FATL (39-period digital filter) output and then rounds to configurable digit precision, reducing noise for cleaner trend signals. Entry conditions: A buy signal fires when the indicator color buffer transitions from a non-2 value to 2 (uptrend start), and a sell signal fires when it transitions from non-0 to 0 (downtrend start), capturing trend direction changes. Pyramiding mechanism: When a position already exists, additional entries (ReOpen) are triggered when price moves favorably by at least PriceStep (default 300 points) from the last entry price, up to PosTotal times (default 10), with each add-on using the same lot sizing logic. Exit conditions: Opposite signals close positions — buy positions close when the indicator turns to 0, sell positions close when it turns to 2; each trade has independent StopLoss and TakeProfit. Position sizing is controlled via the MM parameter with multiple modes (free margin, balance, loss-based, fixed lot), while pyramiding entries use LOT mode for incremental volume. Money management: Add-on lot sizes equal the initial lot (no progressive increase or doubling), each add-on sets its own SL/TP based on the add-on entry price rather than the original entry, which can lead to inconsistent risk exposure across the position's constituent trades.

Strengths

  • The pyramiding mechanism is sound — add-ons only occur when price moves favorably, avoiding the danger of averaging down into losing positions
  • Each trade has independent SL/TP with clear risk boundaries; add-on lot sizing matches the initial lot rather than doubling, avoiding martingale-style risk escalation
  • JMA+FATL dual smoothing with digit rounding provides multi-layer noise filtering, producing cleaner signals suitable for medium-to-long-term trend capture

Weaknesses

  • Pyramiding up to 10 add-ons can concentrate excessive risk exposure in strong trends, with total position size reaching 11x the initial entry
  • Add-on SL/TP are set from the add-on price rather than managed holistically, potentially leaving overall position protection inconsistent across constituent trades
  • Only supports single-symbol trading (uses PositionSelect by Symbol), preventing multi-instrument parallel operation; new bar check only activates when SignalBar=0

Possible improvements

  • Implement holistic position-level stop loss management instead of per-entry SL, to avoid partial stops triggering while the overall position remains exposed
  • Add total position size caps and maximum drawdown limits to prevent excessive risk accumulation from pyramiding

Risk assessment

Overall risk: Medium

  • Pyramiding can accumulate up to 11 layered positions with significant combined risk exposure
  • Each add-on has independent SL, leaving the overall position without unified risk protection
  • Default SL of 1000 pips and TP of 2000 pips are large, meaning individual trade losses can be substantial

Evaluation scores

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

Parameters

ParameterDefaultDescription
MM0.1Percentage of deposit per trade
MMModeLOTLot sizing method: free margin/balance/loss ratio/fixed lot
StopLoss_1000Stop loss in points
TakeProfit_2000Take profit in points
Deviation_10Max price deviation (slippage in points)
PriceStep300Grid spacing for additional entries (points)
PosTotal10Maximum number of additional entries
BuyPosOpentrueAllow long entry
SellPosOpentrueAllow short entry
BuyPosClosetrueAllow close buy positions
SellPosClosetrueAllow close sell positions
InpInd_TimeframePERIOD_H4Indicator timeframe
JLength5JMA smoothing depth
JPhase-100JMA smoothing parameter (-100 to +100)
IPCPRICE_CLOSE_Price constant type
Digit2Rounding digits
SignalBar1Entry signal bar index

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.