Urdala_Trol
Urdala_Trol is a trend-following Expert Advisor that uses a trailing stop mechanism based on the ATR indicator to dynamically adjust stop-loss levels as price moves in favor. It opens positions in the direction of the prevailing trend and manages them with an adaptive trailing algorithm. The EA is designed for medium-to-long-term trend capture on higher timeframes.
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 | +4.50% | +3.90% | 3.84% | 82 | 53.10% | 0.97 | 1.17 | 7 | +$5.97 | Reliable |
| GBPUSD | -0.61% | -0.53% | 5.72% | 82 | 48.10% | -0.08 | -0.11 | 6 | −$1.14 | Reliable |
| USDJPY | +0.91% | +0.79% | 3.81% | 149 | 48.00% | 0.19 | 0.24 | 6 | +$0.67 | Reliable |
| XAUUSD | +5.08% | +4.18% | 59.08% | 79 | 51.30% | 0.45 | 0.09 | 7 | +$9.69 | Reliable |
Profitable on 3 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 84% of 95 · GBPUSD: better than 41% of 95 · USDJPY: better than 61% of 95 · XAUUSD: better than 56% of 96
Month by month
| Market | Months with a gain | Best month | Worst month |
|---|---|---|---|
| EURUSD | 69% | +3.57% 2026-04 | -2.19% 2026-03 |
| GBPUSD | 46% | +2.51% 2026-04 | -1.74% 2026-01 |
| USDJPY | 38% | +1.64% 2026-01 | -1.38% 2026-03 |
| XAUUSD | 54% | +19.02% 2026-01 | -15.73% 2026-10 |
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
The core strategy of this EA is trend following, entering positions in the direction of the identified market trend. Entry conditions rely on trend direction indicators, opening positions once the trend is confirmed. Exit conditions primarily depend on an ATR-based dynamic trailing stop, closing positions when price retraces beyond a calculated ATR multiplier. Position sizing uses either fixed lots or a balance-proportional lot calculation method. Money management controls per-trade risk by setting stop-loss distance through ATR multiplier calculations. The overall strategy logic is concise, focusing on letting profits run while protecting gains with trailing stops, but it lacks explicit entry signal filtering and multi-confirmation mechanisms.
Strengths
- ATR-based dynamic trailing stop effectively adapts to market volatility changes, automatically adjusting stop distance under different conditions
- Trend following strategy logic is clear, letting profits run while protecting unrealized gains
- Parameters are concise and user-friendly, easy to understand and adjust, reducing misconfiguration risk
Weaknesses
- Lacks explicit trend determination and entry signal filtering mechanism, potentially leading to frequent stop-outs in ranging markets
- No independent stop-loss setting, relying entirely on trailing stop, which may cause large losses on price gaps
- Missing position scaling logic, unable to gradually build positions after trend confirmation to optimize entry cost
Possible improvements
- Add trend strength filter indicators (e.g., ADX) to avoid false signals in ranging markets
- Add a fixed maximum stop-loss as a safety net to prevent trailing stop failure in extreme market conditions
- Implement position scaling for both entry and exit to improve capital efficiency and risk diversification
Risk assessment
Overall risk: Medium
- No fixed stop-loss protection; trailing stop may fail during extreme gap events causing large losses
- Lacks new bar check mechanism, potentially opening repeated positions within the same bar
- May repeatedly trigger entries and stops in ranging markets, accumulating consecutive small losses
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
TrailingStop_ATR_Period | 14 | ATR period for trailing stop distance calculation |
TrailingStop_ATR_Multiplier | 3.0 | ATR multiplier for trailing stop distance scaling |
Lots | 0.1 | Initial lot size, starting volume of martingale sequence |
MagicNumber | 12345 | EA magic number identifier |
Timeframe | H1 | Trading timeframe |
Similar Trend Following EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.