EA-13358 · Momentum

Exp_ColorJLaguerre

This EA trades based on the ColorJLaguerre indicator, which is a Laguerre-filtered JMA oscillator that outputs trend states as integer values. It opens buy positions when the indicator transitions from state 1 to 2 and sell positions when it transitions from state 2 to 1, with configurable position closing on opposite signals. Money management and stop-loss/take-profit are handled via the included TradeAlgorithms library.

Open the interactive view (equity curve, symbol switch)

Key facts

CategoryMomentum
RiskMedium
Rating★★★☆☆
TypeTrading EA
TimeframesM15, H1, H4, D1
IndicatorsColorJLaguerre, JMA, Laguerre Filter
Author—

Backtest results (H1, about 1 year)

Not backtested yet — this EA could not be converted automatically.

Strategy analysis

The core strategy is based on the ColorJLaguerre indicator, a momentum oscillator combining Laguerre filtering with JMA smoothing that outputs discrete trend states of 1 or 2. Entry conditions: when the indicator buffer transitions from 1 to 2, a buy signal is generated to open long positions and optionally close short ones; when it transitions from 2 to 1, a sell signal opens shorts and optionally closes longs. Exit conditions include stop-loss (default 1000 points) and take-profit (default 2000 points), plus optional closing on opposite signals. Position sizing is controlled by the MM parameter (default 0.1) with five money management modes: free margin, balance, loss-free margin, loss balance, and fixed lot size. The strategy includes a new bar detection mechanism to prevent duplicate signals within the same bar, and uses SignalBar to specify which bar confirms the signal.

Strengths

  • Clean and unambiguous strategy logic based on discrete trend state transitions
  • Flexible money management with 5 different position sizing modes
  • New bar detection effectively prevents duplicate entries within the same bar
  • Independent toggle controls for buy/sell direction and open/close operations provide high flexibility
  • Laguerre filtering effectively reduces price noise for better signal quality

Weaknesses

  • Default SL/TP values of 1000/2000 points are excessively large and may not suit all instruments or timeframes
  • No spread filter, which could cause losses on smaller timeframes when spreads widen
  • Heavy dependency on external TradeAlgorithms.mqh library and ColorJLaguerre custom indicator reduces portability
  • No position check before opening, potentially leading to duplicate entries in the same direction
  • Indicator handle creation failure only prints a warning without stopping EA execution, risking invalid handle access

Possible improvements

  • Add position checking logic to avoid duplicate entries in the same direction and prevent over-leveraging
  • Add spread filter and trading session filter to improve live trading adaptability
  • Return INIT_FAILED in OnInit when indicator handle creation fails instead of continuing with invalid handle

Risk assessment

Overall risk: Medium

  • Indicator handle creation failure does not prevent EA from running, potentially causing CopyBuffer failures and unexpected behavior
  • Large default SL/TP values may lead to excessive risk exposure on low-volatility instruments
  • No open position count check may cause over-sizing through repeated same-direction entries

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management3.0
Robustness2.0
Innovation2.0
Documentation1.0
Overall2.3

Parameters

ParameterDefaultDescription
MM0.1Money management ratio or fixed lot size
MMModeLOTMM mode (free margin/balance/loss margin/loss balance/fixed lot)
StopLoss_1000Stop loss in points
TakeProfit_2000Take profit in points
Deviation_10Maximum price deviation in points
BuyPosOpentrueAllow buy
SellPosOpentrueAllow sell
BuyPosClosetrueAllow close long position
SellPosClosetrueAllow close short position
InpInd_TimeframePERIOD_H1Indicator timeframe
gamma0.7Laguerre filter smoothing parameter
HighLevel85Overbought level threshold
MiddleLevel50Neutral level threshold
LowLevel15Oversold level threshold
JLength3JMA smoothing length
JPhase100JMA phase parameter
IPCPRICE_CLOSE_Applied price type
SignalBar1Bar index for entry signal

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.