TrendPulseEA
- Experts
- Version: 1.3
- Activations: 5
rendPulse EA is a trend-following Expert Advisor for XAUUSD (gold) on the D1 timeframe. It waits for a confirmed EMA crossover, confirms the market is actually trending with ADX, avoids buying into overbought conditions with RSI, then manages the position with a wide ATR-based stop and a trailing stop that lets winners run.
It is deliberately a slow system: roughly 19 trades per year, holding days to weeks. No grid, no averaging, no martingale, no hedging of losses. Every position has a stop loss from the moment it opens.
BEFORE YOU BUY — READ THIS
TrendPulse EA is designed for one market and one timeframe:
| Symbol | XAUUSD (any broker naming: XAUUSD, XAUUSDm, GOLD) |
| Timeframe | D1 |
| Minimum deposit | 25,000 USD recommended |
| Minimum usable | 2,500 USD |
| Leverage | 1:100 or higher |
| Trading frequency | ~19 trades per year |
The minimum deposit is not marketing. Position size is a percentage of balance divided by the stop distance; on a small account that result falls below the broker's 0.01 lot minimum and the EA correctly refuses the trade instead of over-risking. On a 500 USD account it will mostly sit idle — that is the protection working, not a defect.
The strategy was validated on gold only. It has no verified edge on EURUSD, GBPUSD, USDJPY or indices and should not be attached to them.
HOW IT DECIDES
Entry — fast EMA crosses slow EMA on a closed bar (45/100); ADX(14) above 25 so it does not trade flat markets; RSI(14) not extreme (below 70 to buy, above 30 to sell); one entry per bar.
Exit — SL at ATR × 3.0, TP at ATR × 6.0, trailing stop at ATR × 2.0 once in profit. Break-even is available but off by default — in testing it cut winners early and reduced total profit by ~30%.
Risk — 1% of balance per trade, hard lot ceiling, free-margin check before each order, 1 position at a time, 3% daily realised-loss limit, optional session and spread filters.
BACKTEST RESULTS
XAUUSD, D1, 1:100, "1 minute OHLC" model, 1 Jan 2015 – 15 Nov 2026.
| Metric | 50,000 USD, 2015–2026 | 50,000 USD, 2025–2026 | 10,000 USD, 2015–2026 |
|---|---|---|---|
| Net profit | 27,223.85 | 6,231.65 | 5,394.19 |
| Profit factor | 1.67 | 2.28 | 1.66 |
| Trades | 227 (68.3% won) | 41 (78% won) | 226 |
| Max drawdown | 5.58% bal / 6.75% eq | 3.69% / 4.63% | 5.77% bal |
| Sharpe | 3.57 | 5.42 | 3.54 |
| Longest losing streak | 4 trades | 2 trades | — |
HOW THE SETTINGS WERE CHOSEN
Defaults were selected on 2015–2021 and then checked on data the optimiser never saw: out-of-sample 2022–2026 reproduced the profit factor (1.83 in-sample → 1.87 out-of-sample), a neighbourhood grid stayed profitable across a contiguous parameter block so the result is a stable region rather than one lucky setting, four independent three-year windows were each profitable, and the slow EMA of 100 was the only value profitable in both halves of the history. Several sets that looked excellent on shorter tests were rejected for failing on unseen data.
INSTALLATION
- Open XAUUSD, set timeframe D1
- Drag TrendPulse EA onto the chart
- Allow algorithmic trading in the EA dialog and the terminal toolbar
- Keep the default inputs unless you have a specific reason
- Run on a VPS — the trailing stop needs the terminal online
The full 27-input table with defaults is in section "INPUTS" of the file.
WHAT THIS EA DOES NOT DO — no martingale, no grid, no averaging down, no trading without a stop loss, no promises.
RISK WARNING — Trading leveraged instruments carries a high risk of loss and can result in losing your entire deposit. These results were produced in the Strategy Tester on historical data with simulated execution. Real results will differ: spreads widen around news and rollover, slippage affects stop exits, conditions change. Drawdowns near 7% of equity occurred repeatedly in the test and will occur again. Only trade money you can afford to lose, and never raise the risk setting to recover a loss.
