EA-13943 · Trend Following

Exp_TEMA_CUSTOM

This EA trades based on a Triple Exponential Moving Average (TEMA) custom indicator with configurable smoothing methods for each of the three MA layers. It opens buy positions when the TEMA value is rising (Value[0]>Value[1] with Value[1]<Value[2]) and sell positions when falling, closing opposite positions on signal reversal.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Rating★★★☆☆
TypeTrading EA
TimeframesH1, H4, D1
IndicatorsTEMA_CUSTOM, EMA, JJMA, JurX, ParMA, T3, VIDYA, AMA
Author—

Backtest results (H1, about 1 year)

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

Strategy analysis

The core strategy is trend following based on a custom TEMA indicator, which applies three separate smoothing algorithms to reduce lag and more sensitively capture trend changes. Entry conditions: a buy signal is generated when the indicator transitions from declining to rising (Value[1]<Value[2] and Value[0]>Value[1]), and a sell signal when it transitions from rising to declining (Value[1]>Value[2] and Value[0]<Value[1]). Exit conditions include hard stop-loss and take-profit levels in points, as well as closing opposite positions when a reversal signal is triggered. Position sizing supports multiple money management modes: percentage of free margin, percentage of balance, percentage of free margin after losses, percentage of balance after losses, and fixed lot size. The EA employs an IsNewBar mechanism to ensure signals are calculated only once per bar, preventing repeated trades on every tick, and the SignalBar parameter allows users to choose which bar's signal to use. Risk control relies on fixed stop-loss and take-profit points, but lacks additional safeguards such as spread filtering, slippage protection beyond Deviation_, and maximum position count limits.

Strengths

  • Supports multiple smoothing algorithms (SMA/EMA/SMMA/LWMA/JJMA/JurX/ParMA/T3/VIDYA/AMA) for high flexibility
  • Uses IsNewBar mechanism to avoid repeated tick-level signals, reducing unnecessary trading operations
  • Stop-loss to take-profit ratio of 1:2, providing a reasonable risk-reward design
  • Multiple money management modes accommodate different risk preferences
  • Buy and sell directions can be independently toggled, convenient for unidirectional trading or testing

Weaknesses

  • Lacks spread filtering, which may lead to unnecessary losing trades during high-spread conditions
  • No maximum position count limit, potentially causing frequent open/close cycles in choppy markets
  • Depends on external custom indicator TEMA_CUSTOM; EA fails if the indicator file is missing
  • No trailing stop functionality, potentially failing to maximize profits in trending markets
  • Signal logic is simplistic (only three-bar comparison), prone to false signals in ranging markets

Possible improvements

  • Add spread filter and time filter to avoid trading during high-spread or low-liquidity sessions
  • Implement trailing stop and trailing take-profit to lock in more profit during trends
  • Add ranging market detection filter (e.g., ADX indicator) to pause trading when no clear trend exists
  • Add maximum simultaneous position limit to prevent over-trading in choppy markets

Risk assessment

Overall risk: Medium

  • No spread filter; widening spreads during high volatility may cause unfavorable entries
  • No maximum position limit; frequent open/close in ranging markets may accumulate losses
  • Depends on external custom indicator file; if loading fails, EA only returns INIT_FAILED without auto-recovery

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management3.0
Robustness3.0
Innovation2.0
Documentation1.0
Overall2.5

Parameters

ParameterDefaultDescription
MM0.1Money management ratio or fixed lot size
MMModeLOTPosition sizing mode (free margin/balance/equity)
StopLoss_1000Stop loss in points
TakeProfit_2000Take profit in points
Deviation_10Maximum allowed slippage
BuyPosOpentrueAllow buy position open
SellPosOpentrueAllow sell position open
BuyPosClosetrueAllow buy position close
SellPosClosetrueAllow sell position close
InpInd_TimeframePERIOD_H4Indicator timeframe
MA_Method1MODE_EMA_First-level smoothing method
Length112First-level smoothing period
Phase115First-level smoothing phase parameter (for JJMA/VIDYA/AMA)
MA_Method2MODE_EMASecond-level smoothing method
Length25Second-level smoothing period
Phase215Second-level smoothing phase parameter
MA_Method3MODE_EMAThird-level smoothing method
Length35Third-level smoothing period
Phase315Third-level smoothing phase parameter
IPCPRICE_MEDIANPrice type used for indicator calculation
SignalBar1Bar index for trade 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.