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
Backtest results (H1, about 1 year)
| Symbol | P&L | Annual | Max DD | Trades | Win rate | Sharpe | Recovery | Losing streak | Per trade | Status |
|---|---|---|---|---|---|---|---|---|---|---|
| EURUSD | +0.76% | +0.66% | 3.94% | 58 | 38.60% | 0.20 | 0.19 | 6 | +$1.47 | Reliable |
| GBPUSD | +0.33% | +0.28% | 5.80% | 62 | 48.40% | 0.09 | 0.06 | 4 | +$0.53 | Reliable |
| USDJPY | +1.23% | +1.07% | 4.21% | 72 | 47.20% | 0.30 | 0.29 | 8 | +$1.71 | Reliable |
| XAUUSD | +115.17% | +88.35% | 48.51% | 66 | 45.50% | 1.68 | 2.37 | 18 | +$174.50 | Reliable |
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
| Market | Months with a gain | Best month | Worst month |
|---|---|---|---|
| EURUSD | 46% | +2.44% 2026-09 | -1.32% 2025-11 |
| GBPUSD | 38% | +2.98% 2026-02 | -2.94% 2026-04 |
| USDJPY | 46% | +2.41% 2026-07 | -1.85% 2026-02 |
| XAUUSD | 69% | +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
Parameters
| Parameter | Default | Description |
|---|---|---|
LotSize | 0.1 | Fixed lot size per trade |
FastMA_Period | 10 | Fast moving average period |
SlowMA_Period | 50 | Slow moving average period |
StopLoss | 500 | Stop loss in points |
TakeProfit | 1000 | Take profit in points |
TrailingStop | 300 | Trailing stop in points |
MA_Method | MODE_SMA | MA calculation method |
TimeFrame | PERIOD_H1 | Trading timeframe |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.