XAUHunter
- Experts
- Versão: 1.14
XAUHunter is an automated trading system designed for XAUUSD (Gold) on MetaTrader 5.
HOW IT WORKS
- Reads signals on five timeframes (M5, M15, M30, H1, H4). Each timeframe has its own weight; H1 and H4 count double by default.
- Signals come from RSI (momentum mode: buy above 55, sell below 45), fast/slow moving averages, MACD (8/26/9) and Bollinger Bands (60, 2.0). Stochastic can be enabled as an extra vote.
- When the combined score points clearly in one direction, the EA places stop orders a short distance from the price, each with a fixed stop-loss and its own take-profit level (TP1/TP2/TP3).
- After TP1 is hit, the remaining orders of the same group move to break-even and their take-profit is removed; a profit lock then trails the stop-loss.
RISK CONTROLS
- Position size is calculated from account balance and a configurable risk percentage, or a fixed lot can be used.
- Every order is sent with a stop-loss.
- Optional maximum drawdown limit and trading hours filter (both off by default).
- Maximum number of positions, slippage limit, broker stop/freeze level and volume limit checks.
- Optional management of manually opened trades (initial stop-loss, trailing stop).
REQUIREMENTS
- Attach the EA to an XAUUSD chart (M5 recommended). The EA trades the chart symbol unless another symbol is set in the "Trade symbol" input (InpTradeSymbol).
- Hedging account required when more than one order per signal is used.
- A VPS with low latency to your broker is recommended, because the EA uses small take-profit distances.
- Test the EA on a demo account and in the Strategy Tester with real ticks before going live.
MAIN INPUTS
- InpMagicNumber: identifies the EA's own orders.
- InpTradeSymbol: symbol to trade (empty = chart symbol).
- InpUseFixedLot / InpFixedLot / InpRiskPercent: fixed lot or risk per signal (default 3%).
- InpTradesPerSignal: orders per signal (default 3).
- InpStopLossPips (default 60), InpTP1_Pips / InpTP2_Pips / InpTP3_Pips (default 9 each).
- InpPipSize: pip value for gold (0.1); other symbols are detected automatically.
- InpUsePendingOrders, InpPendingDistance, InpPendingExpiryMin: pending order settings.
- InpUseDrawdownLimit / InpMaxDrawdownPct, InpUseTimeFilter / InpStartHour / InpEndHour: optional protections.
- Indicator settings: RSI, moving averages, MACD, Bollinger Bands, Stochastic and timeframe weights.
RISK WARNING
Trading gold with leverage carries a high level of risk and can result in the loss of all invested capital. Past performance and backtest results do not guarantee future results. Small take-profit targets combined with a wider stop-loss mean that a few losing trades can outweigh many winning trades. Use only capital you can afford to lose and start with a low risk setting.
