EA-39582 · Trend Following

AMA Trader 2

AMA Trader 2 is an Expert Advisor based on Kaufman's Adaptive Moving Average (AMA/KAMA), which dynamically adjusts its sensitivity to market volatility. It generates buy signals when price crosses above the AMA and sell signals when price crosses below, adapting to trending versus ranging conditions. The EA opens positions based on these adaptive trend-following signals with configurable risk parameters.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Blow-up riskLow
Rating★★★☆☆
TypeTrading EA
TimeframesM15, H1, H4, D1
IndicatorsAMA, KAMA, Efficiency Ratio
AuthorCopyright © 2018-2022, Vladimir Karputov

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 core strategy of this EA is Kaufman's Adaptive Moving Average (AMA/KAMA), which adaptively adjusts the moving average's sensitivity through the Efficiency Ratio (ER) and fast/slow smoothing constants. Entry conditions are: go long when price crosses above the AMA line and go short when price crosses below it; this adaptive mechanism makes AMA more responsive in trending markets and more sluggish in ranging markets. Exit conditions typically rely on reverse crossover signals or fixed stop-loss/take-profit settings, closing positions when price crosses back through the AMA. Position sizing is handled through configurable lot size parameters, potentially supporting both fixed lots and equity-based dynamic sizing. Money management controls per-trade risk through stop-loss settings, but overall risk control depends on the reasonableness of parameter configuration and lacks multi-layer protection mechanisms.

Strengths

  • Adaptive moving average dynamically adjusts sensitivity based on market conditions, automatically switching between trending and ranging modes
  • Clear and concise strategy logic based on price-AMA crossover signals, easy to understand and verify
  • AMA reduces false signals compared to traditional moving averages, performing better in choppy markets

Weaknesses

  • Single-indicator strategy may lack sufficient signal confirmation in complex market environments
  • Fixed pip stop-loss and take-profit do not dynamically adjust based on volatility indicators like ATR
  • Lacks new bar check mechanism, potentially opening duplicate positions on the same bar

Possible improvements

  • Introduce ATR-based dynamic stop-loss and take-profit to automatically adjust risk parameters based on market volatility
  • Add multi-timeframe confirmation and volume filtering to reduce false crossover signals
  • Implement new bar check mechanism and maximum position limits to prevent duplicate entries and excessive risk exposure

Risk assessment

Overall risk: Medium

  • Fixed stop-loss/take-profit ignores market volatility; stops may be too tight in volatile conditions causing frequent stop-outs
  • Lack of new bar check may cause duplicate position openings on the same bar, increasing risk exposure
  • Single indicator dependency can still generate consecutive losing signals in ranging markets

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management2.0
Robustness2.0
Innovation3.0
Documentation2.0
Overall2.5

Parameters

ParameterDefaultDescription
FastPeriod2Fast smoothing period for AMA fast EMA constant
SlowPeriod30Slow smoothing period for AMA slow EMA constant
AMAPeriod10AMA efficiency ratio (ER) calculation period
LotSize0.1Lot size per order
StopLoss50Stop loss in points
TakeProfit100Take profit in points
MagicNumber12345Unique EA magic number identifier
TimeFrameH1AMAindicator calculation timeframe

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.