Alephix Trend Trail
- Experts
- Versão: 1.0
- Ativações: 10
Alephix Trend Trail is an ATR trailing-stop trend follower built for Gold (XAUUSD) on H4. It rides medium-term trends and steps aside when they turn.
How it works
- An ATR trailing line (Key x ATR, Wilder smoothing) follows price. It ratchets up under price in an uptrend and down over it in a downtrend.
- A trade opens only when a closed bar crosses the line, at the next bar's open. No intrabar signals, no repainting.
- The trade closes when a closed bar crosses back. One position at a time.
- Every trade carries a protective stop at 2x the trail distance, so a disconnected terminal is never left without a stop.
What it is not
- No grid, no martingale, no averaging down, no hedging.
- Not a scalper: about 20 trades a year on H4, in the market about half the time.
Money management
- Risk % of equity per trade, measured from entry to the trail (default 2%), or fixed lots.
- Maximum lot cap, daily loss cap and an equity-drawdown stop that pause new entries.
- Optional maximum-spread filter.
Backtest (XAUUSD H4, July 2021 to October 2026, 10,000 USD, 1-minute OHLC, swap charged)
- 2% risk: 110 trades, profit factor 2.18, about 14% a year, maximum equity drawdown about 17%.
- 1% risk: about 7% a year, drawdown about 8%.
- 3% risk: about 19% a year, drawdown about 25%.
Past results do not guarantee future results. The test period includes a strong rise in gold, and a long-only trend follower benefits from that. Use the free demo to test it on your own broker's history.
Recommended setup
- XAUUSD, any chart timeframe (signals use the Signal timeframe input, H4 by default), long only, 1-2% risk.
- At least 2,000 USD at 2% risk. A swap-free account helps.
- A VPS is recommended. The EA acts once per bar.
Inputs
- Signal timeframe, Key (ATR multiple), ATR period, Heikin-Ashi closes, trade direction
- Sizing mode, risk %, fixed lots, allow minimum lot, maximum lots, protective stop multiple
- Daily loss %, maximum drawdown %, maximum spread, slippage
- Trail drawing, colours, status panel, magic number, order comment
Note for small accounts: with Allow minimum lot on (the default), a balance too small for the set risk trades the broker's minimum lot, which can risk more than the set %. Turn it off to skip those signals instead.
