EA-25249 · Trend Following

Lavika100

Lavika100 is a trend-following Expert Advisor that uses moving average-based signals to identify and trade with the prevailing market trend. It enters positions when momentum confirms the trend direction and manages trades with trailing stops. The EA is designed for medium-term timeframes and aims to capture sustained directional moves.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Blow-up riskLow
Rating★★★☆☆
TypeTrading EA
TimeframesM15, H1, H4
IndicatorsMA, ATR, Trailing Stop
AuthorCopyright © 2019, Erin Lavika

Backtest results (H1, about 1 year)

SymbolP&LAnnualMax DDTradesWin rateSharpeRecoveryLosing streakPer tradeStatus
EURUSD+0.76%+0.66%3.94%5838.60%0.200.196+$1.47Reliable
GBPUSD+0.33%+0.28%5.80%6248.40%0.090.064+$0.53Reliable
USDJPY+1.23%+1.07%4.21%7247.20%0.300.298+$1.71Reliable
XAUUSD+115.17%+88.35%48.51%6645.50%1.682.3718+$174.50Reliable

Profitable on 4 of 4 markets with reliable results.

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.

Against the other Trend Following EAs with a reliable result on the same market: EURUSD: better than 63% of 95 · GBPUSD: better than 48% of 95 · USDJPY: better than 66% of 95 · XAUUSD: better than 90% of 96

Month by month

MarketMonths with a gainBest monthWorst month
EURUSD46%+2.44% 2026-09-1.32% 2025-11
GBPUSD38%+2.98% 2026-02-2.94% 2026-04
USDJPY46%+2.41% 2026-07-1.85% 2026-02
XAUUSD69%+52.78% 2026-01-26.81% 2026-04

From the backtest equity curve, sampled about every two days; only reliable results.

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

Lavika100's core concept is trend following, using moving average crossovers or price-to-MA relationships to determine trend direction. Entry conditions typically involve a short-term MA crossing above a long-term MA for long positions, and vice versa for short positions, or entering on price breakouts above/below key MAs. Exit conditions include fixed stop-loss and take-profit levels, trailing stops that lock in profits as the trade moves favorably, and reverse MA crossover signals. Position sizing may use fixed lots or a percentage-based calculation tied to account balance. Money management likely incorporates a risk-per-trade percentage to determine lot size, though the presence of martingale or grid mechanisms cannot be confirmed without source code. The overall strategy logic is straightforward but may generate frequent false signals in ranging markets, leading to consecutive losses.

Strengths

  • Simple and clear strategy logic, easy to understand and optimize parameters
  • Effectively captures large trend moves during trending market conditions
  • Uses trailing stop to protect profits and reduce drawdown risk

Weaknesses

  • Generates frequent false signals in ranging markets, potentially leading to consecutive losses
  • Lacks market regime filter to distinguish between trending and ranging conditions
  • Fixed stop-loss and take-profit may not adapt well to varying market volatility environments

Possible improvements

  • Add a market regime filter (such as ADX or ATR) to reduce trading frequency in ranging markets
  • Use ATR-based dynamic stop-loss and take-profit to adapt to different volatility environments

Risk assessment

Overall risk: Medium

  • Lacks multi-timeframe confirmation, may enter against the larger trend
  • Fixed stop-loss may get hit by volatility spikes before the trade moves favorably
  • Cannot confirm presence of position checks and duplicate order protection without source code

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management3.0
Robustness2.0
Innovation2.0
Documentation2.0
Overall2.5

Parameters

ParameterDefaultDescription
LotSize0.1Fixed lot size per trade
FastMA_Period10Fast moving average period
SlowMA_Period50Slow moving average period
StopLoss500Stop loss in points
TakeProfit1000Take profit in points
TrailingStop300Trailing stop in points
MA_MethodMODE_SMAMA calculation method
TimeFramePERIOD_H1Trading 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.