EA-15334 · Trend Following

Exp_ColorJFatl_StDev

This EA trades based on the ColorJFatl_StDev custom indicator, which combines a JFATL (JMA-smoothed FATL) moving average with Standard Deviation channels. It opens and closes positions using three signal modes: point-based (dot signals), directional (line direction change), or disabled, allowing flexible entry and exit logic on trend reversals or continuations.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Blow-up riskLow
Rating★★★☆☆
TypeTrading EA
TimeframesH1, H4, D1
IndicatorsJFATL (JMA-smoothed FATL), Standard Deviation, ColorJFatl_StDev (custom composite)
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

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 core is trend-following based on the JFATL indicator (a JMA-smoothed FATL digital filter) combined with Standard Deviation channels. Entry conditions operate in two modes: POINT mode triggers trades when dot signals appear in the indicator buffers (non-EMPTY_VALUE values); DIRECT mode triggers on JFATL line direction changes such as bottom reversals (Line[0]>Line[1] && Line[1]<Line[2]) or top reversals. Exit conditions mirror entry logic with two modes: POINT mode uses opposite-direction dot signals for closing; DIRECT mode closes when the JFATL line direction reverses. Position sizing is controlled via the MM parameter and MMMode enum, supporting five modes including percentage of free margin, balance, post-loss margin/balance, or fixed lot size. Money management leverages the TradeAlgorithms.mqh library with configurable stop loss, take profit, and slippage deviation control. The strategy allows signal verification on non-zero bars via SignalBar and uses an IsNewBar mechanism to prevent redundant calculations within the same bar.

Strengths

  • Flexible signal mode design allowing independent selection of dot or directional signals for entry and exit, adapting to different trading styles
  • JFATL digital filter combined with Standard Deviation channels provides both trend-following and volatility-adaptive capabilities
  • Built-in IsNewBar detection and history loading mechanism prevents redundant calculations and signal repainting
  • Five position sizing modes offer flexible money management options
  • Recount mechanism ensures safe retry on indicator data read failures rather than executing erroneous trades

Weaknesses

  • Depends on external custom indicator ColorJFatl_StDev; EA fails to run if the indicator is not properly installed
  • Default SL of 1000 points and TP of 2000 points may be too wide for H4 timeframe; risk-reward ratio needs adjustment per instrument
  • Lacks spread filter and trading session filter, potentially leading to unfavorable fills during high-spread or inactive periods
  • DIRECT mode exit compares only two bars of line values, which may generate frequent false exit signals in choppy markets
  • No explicit position check logic; relies entirely on TradeAlgorithms.mqh library functions for position management

Possible improvements

  • Add spread filter and trading session control to avoid opening positions under unfavorable conditions
  • Add trailing stop functionality to lock in floating profits and reduce profit giveback risk
  • Add position count checks and duplicate same-direction entry protection logic
  • Add confirmation conditions for DIRECT mode exits (e.g., two consecutive bars confirming direction change) to reduce false signals

Risk assessment

Overall risk: Medium

  • Depends on external custom indicator; missing or version-mismatched indicator can cause EA initialization failure
  • No spread filter; may result in unfavorable slippage fills during high-spread market conditions
  • Weak DIRECT mode exit conditions may cause frequent entries and exits in choppy markets leading to consecutive losses
  • No explicit position count limit; may over-commit in extreme conditions

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management3.0
Robustness3.0
Innovation3.0
Documentation1.0
Overall2.7

Parameters

ParameterDefaultDescription
MM0.1Money management ratio parameter, controls position sizing
MMModeLOTPosition sizing mode: free margin/balance/post-loss free margin/post-loss balance/fixed lot
StopLoss_1000Stop loss in points
TakeProfit_2000Take profit in points
Deviation_10Maximum allowed slippage in points
BuyPosOpenPOINTBuy open signal mode: dot signal/direction signal/disabled
SellPosOpenPOINTSell open signal mode: dot signal/direction signal/disabled
BuyPosCloseDIRECTEnable buy position close signal
SellPosCloseDIRECTEnable sell position close signal
InpInd_TimeframePERIOD_H4Indicator timeframe
JLength5JMA smoothing length parameter
JPhase-100JMA phase parameter, range -100 to +100
IPCPRICE_CLOSE_Price type applied to the indicator
PriceShift0Price offset in points
dK11.5Standard deviation channel multiplier 1
dK22.5Standard deviation channel multiplier 2
std_period9Standard deviation period
SignalBar1Bar index used to retrieve trading 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.