EA-1596 · Trend Following

Exp_TrendContinuation

This EA trades trend continuation signals generated by the custom TrendContinuation indicator. It detects crossovers between the indicator's upper and lower buffer lines to open buy or sell positions, with configurable money management, stop loss, and take profit. Trading is restricted to new bar formation on the specified timeframe to avoid redundant signals.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Blow-up riskLow
Rating★★★☆☆
TypeTrading EA
TimeframesH1, H4, D1
IndicatorsTrendContinuation, T3, JJMA, JurX, ParMA, VIDYA, AMA, SMA, EMA, SMMA, LWMA
AuthorCopyright © 2013, Nikolay Kositsin

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 concept is based on trend continuation, where crossovers of the TrendContinuation indicator's two buffer lines signal that the current trend will persist. Entry conditions: a buy position opens when the upper line crosses above the lower line, and a sell position opens when the upper line crosses below the lower line; signals are confirmed by comparing the current and previous bar values at the specified SignalBar index. Exit conditions include fixed-point stop loss and take profit levels, plus reverse-signal closing where long positions close on sell signals and short positions close on buy signals. Position sizing supports five modes: free margin share, balance share, loss share from free margin, loss share from balance, and fixed lot size. Money management is controlled by the MM parameter for deposit share and MMMode parameter for the specific allocation method. The strategy employs multiple smoothing algorithms (SMA, EMA, JJMA, T3, etc.) for price preprocessing, which improves signal smoothness and reduces noise.

Strengths

  • New bar detection mechanism prevents redundant trades within the same bar, reducing overtrading
  • Supports multiple smoothing algorithms and price types, offering high flexibility for different market conditions
  • Independent on/off switches for buy/sell directions and close permissions provide granular control
  • Explicit stop loss and take profit settings make risk controllable
  • Reverse-signal closing mechanism provides additional protection against trend reversals

Weaknesses

  • Depends on the custom TrendContinuation indicator whose source code is not visible, making signal logic reliability hard to verify
  • Default stop loss of 1000 points and take profit of 2000 points are large, potentially causing significant losses in short-term trading
  • Lacks spread filter and trading session filter, which may result in unfavorable fills during high-spread or illiquid periods
  • No trailing stop functionality, so profitable positions may give back significant gains during pullbacks
  • Signals only trigger on bar crossovers, which may miss fast entry opportunities during volatile market moves

Possible improvements

  • Add spread filter and trading session filter to avoid unfavorable fills during high-spread and low-liquidity periods
  • Add trailing stop functionality to lock in more profit during trend continuation
  • Add position check logic to prevent duplicate entries in the same direction
  • Provide more granular signal confirmation mechanisms such as volume or momentum filters

Risk assessment

Overall risk: Medium

  • Dependency on a custom indicator with unavailable source code creates black-box signal risk
  • Default 1000-point stop loss is large and may cause significant losses on small accounts or high leverage
  • Lacks same-direction position check, potentially leading to duplicate entries and overexposure

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management3.0
Robustness2.0
Innovation2.0
Documentation2.0
Overall2.5

Parameters

ParameterDefaultDescription
MM0.1Money management ratio parameter
MMModeLOTPosition sizing mode
StopLoss_1000Stop loss in points
TakeProfit_2000Take profit in points
Deviation_10Maximum price deviation in points (slippage tolerance)
BuyPosOpentrueAllow opening long orders
SellPosOpentrueAllow opening short orders
BuyPosClosetrueAllow closing long orders
SellPosClosetrueAllow closing short orders
InpInd_TimeframePERIOD_H4Timeframe for indicator calculation
NPeriod20Indicator calculation period
XMethodMODE_T3Smoothing algorithm type
XPeriod5Smoothing depth
XPhase61Smoothing parameter (JJMA: -100~+100, VIDIA: CMO period, AMA: slow MA period)
IPCPRICE_CLOSEPrice constant type (close/open/high/low/median/typical/weighted)
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.