EA-11256 · Momentum

Exp_TSI_DeMarker

This EA trades based on the crossover signals of the TSI_DeMarker custom indicator, which combines DeMarker oscillator values with True Strength Index (TSI) smoothing. It opens buy positions when the indicator line crosses above the signal line and sell positions on the opposite crossover, with configurable position closing and money management options.

Open the interactive view (equity curve, symbol switch)

Key facts

CategoryMomentum
RiskMedium
Blow-up riskLow
Rating★★★☆☆
TypeTrading EA
TimeframesH4, H8, D1
IndicatorsDeMarker, TSI (True Strength Index), XMA (Multi-method Smoothing)
AuthorCopyright © 2014, Nikolay Kositsin

Backtest results (H1, about 1 year)

SymbolP&LAnnualMax DDTradesWin rateSharpeRecoveryLosing streakPer tradeStatus
EURUSD0.00%0.00%0.00%0—————Run error
GBPUSD0.00%0.00%0.00%0—————Run error
USDJPY0.00%0.00%0.00%0—————Run error
XAUUSD0.00%0.00%0.00%0—————Run error

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 the crossover of the TSI_DeMarker indicator's main line and signal line, essentially a momentum reversal strategy. Entry conditions: a buy signal triggers when the indicator line is above the signal line and the previous bar's indicator line crossed from below the signal line; conversely, a sell signal triggers when the indicator line is below and crosses from above. Exit conditions include fixed stop loss and take profit in points, plus closing positions on reverse crossover signals when the corresponding close flags are enabled. Position sizing supports four modes: free margin percentage, balance percentage, loss-adjusted free margin percentage, loss-adjusted balance percentage, and fixed lot size. Money management is controlled by the MM parameter defaulting to 0.1 (10% capital allocation). The strategy employs multiple smoothing algorithms (XMA) on DeMarker values, using three different smoothing lengths to generate the main and signal lines, filtering noise and capturing momentum shifts.

Strengths

  • Multi-layer smoothing algorithm filters noise and reduces false signals
  • Four position sizing modes offer flexibility for different risk preferences
  • Buy/sell open and close can be independently controlled for granular strategy configuration
  • New bar detection mechanism prevents duplicate signal execution
  • Stop loss and take profit are properly set, keeping risk manageable

Weaknesses

  • Depends on custom indicator TSI_DeMarker; EA fails if indicator file is missing
  • Default SL 1000 and TP 2000 points are large and may not suit all instruments
  • No check for existing positions in the same direction, potentially causing duplicate entries
  • No spread filter, which could be detrimental during high-spread periods
  • Signals only detected on new bar formation, potentially missing entries in fast-moving markets

Possible improvements

  • Add position existence check to avoid duplicate entries in the same direction
  • Add spread filter to pause trading when spread exceeds a threshold

Risk assessment

Overall risk: Medium

  • No same-direction position check may lead to duplicate entries and overexposure
  • Depends on external custom indicator; handle failure only logs but doesn't prevent subsequent execution attempts
  • Fixed stop loss/take profit not dynamically adjusted for market volatility

Evaluation scores

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

Parameters

ParameterDefaultDescription
MM0.1Trade funds ratio; negative = fixed lot
MMModeLOTPosition size calculation mode
StopLoss_1000Stop Loss in points
TakeProfit_2000Take Profit in points
Deviation_10Max price slippage in points
BuyPosOpentrueAllow buy position open
SellPosOpentrueAllow sell position open
BuyPosClosetrueAllow close long position
SellPosClosetrueAllow close short position
InpInd_TimeframePERIOD_H8Indicator timeframe
XMA_MethodMODE_SMASmoothing algorithm type
DeMarkerPeriod25DeMarker period
MomPeriod1Momentum period
XLength15First-level smoothing period
XLength28Second-level smoothing period
XLength320Third-level smoothing period
XPhase15Smoothing phase parameter
SignalBar1Signal reference bar index

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.