EA-19469 · Trend Following

GreenTrade

GreenTrade is a trend-following Expert Advisor that identifies market direction using moving average systems and momentum indicators to enter trades in the direction of the prevailing trend. It employs systematic entry and exit rules with configurable stop loss and take profit levels, aiming to capture sustained directional moves. The EA is designed for medium-term trading on major currency pairs, focusing on high-probability trend continuation setups.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Blow-up riskLow
Rating★★☆☆☆
TypeTrading EA
TimeframesM15, H1, H4
IndicatorsEMA, SMA, RSI
AuthorCopyright © 2017, Kozak Andrey

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

  • Has no stop loss or trailing stop

On its own this is not a typical blow-up pattern, 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

GreenTrade's core strategy is trend following, using moving average alignment and crossovers to determine market trend direction, entering long when the short-term MA crosses above the long-term MA with momentum confirmation, and vice versa for shorts. Entry conditions require trend direction consistency and momentum support to avoid counter-trend trades. Exit conditions include fixed stop loss and take profit levels, as well as position closure triggered by trend reversal signals. Position sizing uses either fixed lot sizes or percentage-based calculation on account equity, with no martingale or grid position-scaling logic detected. Money management provides stop loss ratio control, but lacks maximum drawdown limits and dynamic position adjustment mechanisms. The overall strategy logic is clear and follows a classic trend-following system, but may generate frequent false signals in ranging markets leading to consecutive losses.

Strengths

  • Clear and understandable strategy logic based on classic trend-following methods, suitable for beginners to understand and use
  • Complete stop loss and take profit mechanism effectively controls single-trade risk and prevents extreme losses
  • Strong parameter configurability allows traders to flexibly adjust parameter combinations for different instruments and timeframes

Weaknesses

  • Prone to frequent false signals in ranging markets, leading to consecutive losses and commission erosion
  • Lacks maximum drawdown control and dynamic position adjustment, unable to adapt risk management based on account state
  • No new bar detection logic detected, potentially causing repeated entries on the same bar leading to overtrading
  • Missing spread filter mechanism, entries during high-spread conditions may significantly impact profitability

Possible improvements

  • Add new bar detection logic to ensure only one entry per bar, avoiding repeated trades and excessive risk exposure
  • Introduce ADX or volatility filter to reduce trading frequency in ranging markets and improve signal quality
  • Add maximum drawdown limit and dynamic position sizing to automatically adjust risk exposure based on account equity

Risk assessment

Overall risk: Medium

  • Missing new bar check mechanism may cause repeated entries on the same bar, increasing risk exposure
  • No spread filter set, entries during high spreads may cause unnecessary slippage losses
  • Trend-following strategy generates consecutive losses in ranging markets, lacking market state identification filter

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management2.0
Robustness2.0
Innovation2.0
Documentation2.0
Overall2.3

Parameters

ParameterDefaultDescription
LotSize0.1Lot size per trade
StopLoss50Stop loss in points
TakeProfit100Take profit in points
FastMA_Period10Fast moving average period
SlowMA_Period50Slow moving average period
MA_MethodMODE_SMAMoving average calculation method
RSI_Period14RSI indicator period
RSI_Overbought70RSI overbought level
RSI_Oversold30RSI oversold level
MagicNumber12345EA magic number for distinguishing orders
MaxSlippage3Maximum allowed slippage

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.