EA-13879 · Momentum

Exp_ColorSchaffJCCXTrendCycle

This EA trades based on the ColorSchaffJCCXTrendCycle indicator, a Schaff trend cycle oscillator built on JCCX (Jurik Composite Color eXtended) with JJMA smoothing. It opens buy positions when the indicator color changes to bullish (above +5) and sell positions when it changes to bearish (below +2), with corresponding close signals. Position sizing is configurable via money management modes including lot-based, balance percentage, and free margin percentage.

Open the interactive view (equity curve, symbol switch)

Key facts

CategoryMomentum
RiskMedium
Rating★★★☆☆
TypeTrading EA
TimeframesH1, H4, D1
IndicatorsSchaffJCCXTrendCycle, JCCX, JJMA
Author—

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 Schaff Trend Cycle indicator, which combines JCCX momentum oscillation with JJMA adaptive smoothing to identify trend reversals through color changes. Entry conditions: a buy position opens when the indicator color index transitions from non-bullish (≤5) to bullish (>5), and a sell position opens when the color index transitions from non-bearish (≥2) to bearish (<2). Exit conditions: a bullish signal triggers the closing of sell positions, while a bearish signal triggers the closing of buy positions, with a stop loss of 1000 points and take profit of 2000 points. Position sizing supports five modes: fixed lot, percentage of free margin, percentage of balance, percentage of free margin after losses, and percentage of balance after losses. Money management is controlled via the MM parameter with a default risk ratio of 0.1. The indicator uses the SignalBar parameter to determine which bar to read signals from, defaulting to 1 (the last closed bar), which helps avoid signal fluctuation from unclosed bars. The EA also employs the IsNewBar mechanism to ensure signals are calculated only once per bar, preventing repeated trades within the same bar.

Strengths

  • Uses the Schaff Trend Cycle indicator which is more responsive to trend reversals than traditional MACD signals
  • Supports multiple position sizing modes providing flexible money management adaptable to different account conditions
  • Implements IsNewBar detection and SignalBar=1 setting to avoid repeated trades from fluctuating signals on unclosed bars
  • Buy/sell open and close operations can each be independently enabled or disabled for high strategy flexibility
  • Both stop loss and take profit are parameterized, making risk controllable

Weaknesses

  • Relies entirely on a single custom indicator; if the indicator file is missing the EA cannot run, and there is no fault tolerance for indicator failure
  • Stop loss of 1000 points and take profit of 2000 points are large for the H4 timeframe, potentially causing excessive single-trade losses
  • No spread filter mechanism, which could lead to additional losses from slippage on high-spread instruments
  • Indicator color index uses hardcoded thresholds (5 and 2) which are not intuitive and cannot be adjusted via parameters
  • Lacks checks on existing position counts, potentially opening duplicate positions in the same direction

Possible improvements

  • Add a spread filter to prevent trading when the spread exceeds a threshold, avoiding entries in high-slippage environments
  • Make the color thresholds (5 and 2) configurable parameters and add position count checks to prevent duplicate openings in the same direction
  • Add a trailing stop feature to lock in profits after reaching a certain level, rather than relying solely on fixed take profit

Risk assessment

Overall risk: Medium

  • Stop loss of 1000 points could mean significant capital loss on some instruments, especially with larger position sizes
  • Lack of position count checks may lead to repeated entries during sustained trends causing overexposure
  • Dependency on a custom indicator means unpredictable EA behavior if the indicator file is missing or calculation fails

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management3.0
Robustness2.0
Innovation3.0
Documentation1.0
Overall2.5

Parameters

ParameterDefaultDescription
MM0.1Deposit fraction or fixed lot; negative=fixed lot
MMModeLOTLot sizing mode: fixed lot/balance/free margin
StopLoss_1000Stop loss in points
TakeProfit_2000Take profit in points
Deviation_10Max price deviation in points
BuyPosOpentrueAllow buying
SellPosOpentrueAllow selling
BuyPosClosetrueAllow closing long positions
SellPosClosetrueAllow closing short positions
InpInd_TimeframePERIOD_H4Indicator timeframe
Fast_JCCX23JCCX fast period
Slow_JCCX50JCCX slow period
Smooth8JJMA smoothing period
JPhase100JJMA smoothing phase (-100 to +100)
IPCPRICE_CLOSE_Price type for indicator calculation
Shift0Indicator shift
Cycle10Trend cycle length
HighLevel+60Overbought threshold
MiddleLevel0Center line
LowLevel-60Oversold threshold
SignalBar1Signal bar index (0=current, 1=previous)

Similar Momentum 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.