EA-59714 · Trend Following

Bias EA

This EA implements a directional bias trading strategy that identifies the prevailing market trend direction and enters trades aligned with that bias. It uses moving averages or similar trend indicators to determine market bias and executes trades only in the identified direction. The strategy aims to filter out counter-trend signals and reduce whipsaw losses by maintaining a consistent directional stance until the bias shifts.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Blow-up riskLow
Rating★★☆☆☆
TypeTrading EA
TimeframesM15, H1, H4
IndicatorsMA, EMA, ATR
AuthorLeo.

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

The core concept of the Bias EA is to trade only in the confirmed direction of the prevailing market bias, opening positions solely when the directional bias aligns with the signal. Entry conditions typically rely on moving average crossovers, price-to-MA relationships, or multi-timeframe trend confirmation to establish the current market bias—going long only when the bias is bullish and short only when bearish. Exit conditions generally include a reversal of the bias signal, fixed take-profit and stop-loss levels, or a confirmed trend reversal pattern. Position sizing may use fixed lot sizes or dynamic calculation based on account equity and risk parameters. Money management benefits from the single-direction approach which inherently reduces exposure compared to bidirectional strategies, but consecutive losses can accumulate if the bias determination is incorrect during ranging markets. The strategy's strength lies in filtering out counter-trend trades, while its weakness is the potential for repeated stop-outs when the market bias oscillates frequently in choppy conditions.

Strengths

  • Trades only in the confirmed trend direction, effectively filtering counter-trend signals and reducing unnecessary losses
  • Clear and simple strategy logic that is easy to understand and optimize, suitable for beginners
  • Single-direction trading reduces bilateral exposure risk with relatively conservative money management
  • Captures significant profits during strong trending markets by riding the trend

Weaknesses

  • Frequent bias switches in choppy markets lead to consecutive stop-losses and potentially large drawdowns
  • Lacks multi-timeframe confirmation mechanism, causing bias determination to lag behind actual trend changes
  • No dynamic position sizing mechanism—fixed lot sizes cannot adapt to varying market volatility
  • Missing market regime filter, still attempts to trade in non-trending market conditions
  • Bias determination relies on a single indicator type without multi-dimensional confirmation

Possible improvements

  • Add multi-timeframe bias confirmation, e.g., require consistency between daily and H4 bias before entering trades
  • Incorporate a market regime identification filter (such as ADX or volatility indicators) to pause trading during ranging markets
  • Implement ATR-based dynamic stop-loss, take-profit, and position sizing to adapt to different market volatility environments

Risk assessment

Overall risk: Medium

  • Frequent bias reversals in ranging markets can lead to consecutive stop-losses and significant drawdowns
  • Fixed stop-loss and take-profit cannot adapt to different volatility environments—stop may be too wide in low volatility or take-profit too small in high volatility
  • Lacks maximum drawdown control and daily loss limit mechanisms

Evaluation scores

Code quality2.0
Strategy logic3.0
Risk management2.0
Robustness2.0
Innovation2.0
Documentation1.0
Overall2.0

Parameters

ParameterDefaultDescription
BiasPeriod20Bias calculation period for determining market directional bias
FastMA_Period10Fast moving average period
SlowMA_Period50Slow moving average period
StopLoss500Stop loss in pips per order
TakeProfit1000Overall grid profit target in currency
Lots0.1Lot size per pending order
MagicNumber12345Order magic number to identify this EA's orders

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.