EA-13798 · Trend Following

Exp_i-AMMA

This EA trades based on the i-AMMA (Adaptive Modified Moving Average) indicator, opening buy positions when the AMMA value rises and sell positions when it falls. It uses a crossover-like logic comparing the current and previous bar indicator values to determine trend direction and generate entry/exit signals. Position sizing is configurable through multiple margin modes, and it includes stop loss and take profit for risk management.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Rating★★★☆☆
TypeTrading EA
TimeframesH1, H4, D1
Indicatorsi-AMMA (Adaptive Modified Moving Average)
Author—

Backtest results (H1, about 1 year)

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

Strategy analysis

The strategy concept is a trend-following system based on the Adaptive Modified Moving Average (i-AMMA) indicator, determining trend direction and momentum changes by comparing three consecutive bar values. Entry conditions: open a buy position when Value[1]<Value[2] (indicator transitioning from decline) and Value[0]>Value[1] (confirming upward momentum), and open a sell position when Value[1]>Value[2] and Value[0]<Value[1]. Exit conditions are the reverse of entry: close a long position when the indicator turns downward, and close a short position when it turns upward. Position sizing supports five margin modes: percentage of free margin, percentage of balance, percentage of free margin minus floating loss, percentage of balance minus floating loss, and fixed lot size. Money management is controlled by the MM parameter which sets the risk percentage or fixed lot per trade, while the 1000-point stop loss and 2000-point take profit provide a 2:1 reward-to-risk ratio.

Strengths

  • Simple and clear strategy logic based on trend-following principles, easy to understand and maintain
  • Five position sizing modes provide high flexibility to accommodate different risk preferences
  • Independent buy/sell open and close switches allow flexible control over trading directions
  • Stop loss and take profit settings provide a 2:1 reward-to-risk ratio, favorable for long-term positive expectancy
  • IsNewBar mechanism prevents repeated trades on the same bar, reducing overtrading risk

Weaknesses

  • Stop loss of 1000 points and take profit of 2000 points are excessively large, potentially causing high per-trade risk on most instruments
  • No spread filter or trading session filter, which may cause unnecessary losses during wide spread periods
  • Relies on a single indicator for trend determination without multiple confirmation mechanisms, prone to false signals
  • No trailing stop functionality, profitable positions may retrace significantly before being captured by take profit or reversal exit
  • The signal logic uses three-bar relationships but Value[0] refers to the oldest bar, which could cause confusion in index direction

Possible improvements

  • Add spread filter and trading session filter to avoid trading during wide spread and low liquidity periods
  • Add trailing stop functionality to lock in more profits during trend continuation rather than relying on fixed take profit
  • Add multi-timeframe confirmation or additional indicator filtering to reduce false signals and repeated open/close cycles in ranging markets

Risk assessment

Overall risk: Medium

  • Stop loss of 1000 points is excessively large, exposing each trade to potentially huge losses
  • No spread filter may result in unfavorable fills during low liquidity periods
  • Single indicator strategy prone to frequent entries and exits in ranging markets, causing consecutive losses

Evaluation scores

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

Parameters

ParameterDefaultDescription
MM0.1Risk percentage or lot size
MMModeLOTMargin calculation mode (fixed lots/balance/free margin etc.)
StopLoss_1000Stop loss in points
TakeProfit_2000Take profit in points
Deviation_10Maximum allowed slippage in points
BuyPosOpentrueAllow opening long positions
SellPosOpentrueAllow opening short positions
BuyPosClosetrueAllow closing long positions
SellPosClosetrueAllow closing short positions
InpInd_TimeframePERIOD_H4Indicator calculation timeframe
MA_Period25i-AMMA indicator moving average period
SignalBar1Bar index for signal calculation

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.