Ultimate Helios MT5
- Experts
-
Tuan Duyet Nguyen
Software Engineer at Meta Technology, building trading systems for MetaTrader 5. - Versão: 1.1
- Ativações: 10
ULTIMATE HELIOS MT5
Swing-level breakout EA for XAUUSD with two independent cores and a stop loss on every trade. No martingale. No grid.
WHY ULTIMATE HELIOS
Gold often returns to recent highs and lows after a pullback. Ultimate Helios marks those levels from M1 data and trades when price breaks through them again, with clear rules for entry, stop and exit.
- Two cores in one EA: core A uses 40-hour swings with a fast trailing stop; core B uses 7.5-day swings with a profit lock and a fixed target.
- Stop loss on every position from the moment it opens. One position per core. No grid, no martingale, no averaging.
- Lot size follows your balance (lots per 1,000), with a maximum lot setting.
- News filter for NFP and FOMC days, spread filter, and a Friday cut-off that closes core A before the weekend.
- Broker checks before every order: trading permissions, volume limits, free margin, stops and freeze levels. Errors are logged with a cooldown.
- No DLLs, no web requests, no external files.
HOW IT WORKS
1. Every minute the EA scans closed M1 bars for the highest high and lowest low of each core's window (40 hours for core A, 182 hours for core B).
2. A level is valid only if price has pulled back from the swing (0.42% for core A, 1.10% for core B), and for core A only if the swing is at least 2 hours old.
3. When price crosses the level again, the core opens a position in the breakout direction, unless price is already more than 3 USD past the level, the spread is too wide, it is an NFP/FOMC day, or it is late Friday.
4. Core A: stop 4 USD and target 51 USD from the level. After 1 USD of profit the stop trails 0.8 USD behind price. One trade per day; positions are closed late on Friday.
5. Core B: stop 15 USD from the level. At 0.14% profit the stop moves to lock 0.033%. The position is closed at market 0.34% from the level.
RECOMMENDATIONS
- Symbol: XAUUSD. The EA is designed and tested for gold only. It can run on other symbols for testing, with distances scaled by price, but these are not supported.
- Chart: timeframe H1.
- Account: hedging recommended. On a netting account only one position on the symbol is allowed at a time.
- Balance: $1,000 or more recommended. If the calculated lot is below your broker's minimum, the EA uses the minimum lot and writes a log message, which means a higher risk than designed on small accounts.
- Terminal online 24/5 (a VPS is recommended), Algo Trading enabled.
- A broker with low gold spreads and fast execution.
QUICK START
1. Attach the EA to an XAUUSD chart and enable Algo Trading.
2. Keep the default settings. Lower the two "lots per 1000" inputs if you want less risk.
3. Check your broker's Friday close time for gold in server time and set the Friday close input a few minutes before it.
4. Run on a demo account first.
INPUTS
- Core A / Core B lots per 1000: lot size per 1,000 of balance for each core.
- Largest lot: maximum lot per position.
- Run core A / Run core B: enable or disable each core.
- Magic (A and B): identifies each core's trades. Use different values on each chart of the same symbol.
- Swing window (A and B): hours of M1 data used to find the swing high and low.
- Level inside swing (A): distance of the level inside the swing, USD.
- Swing must be this old (A): minimum age of the swing, hours.
- Pullback since swing (A and B): required pullback, % of price.
- Buy level below high / Sell level above low (B): level offsets, %.
- Stop from level (A and B): stop loss distance, USD.
- Target from level (A): take profit distance, USD.
- Trail starts at profit / Trail gap (A): trailing stop settings, USD.
- Market close from level (B): target for core B, % of price.
- Lock when profit reaches / Locked profit (B): profit lock settings, % of price.
- Skip NFP days / Skip FOMC decision days: news filters.
- Largest spread: maximum spread for new entries, points.
- Close core A and block entries late Friday / Friday close time: weekend protection, server time.
- Skip entry this far past the level: maximum entry overshoot, USD.
- Slippage: allowed slippage, points.
COMMUNICATION & SUPPORT
Please contact me through MQL5 private messages or the Comments section of this product.
PLEASE READ BEFORE BUYING
These are backtests, not live trading results. Past performance does not guarantee future results.
- Average losses are larger than average wins (about 1.7 to 2.7 times in these tests). The strategy relies on a high win rate. If your win rate is lower than in the tests, results can turn negative.
- Core A uses a tight trailing stop (0.8 USD) that is updated on every tick, so results are sensitive to spread, slippage, latency and tick data. The 2024 test used generated ticks only.
- Lot size is calculated per 1,000 of balance, so gains and losses compound. Large dollar figures in the longer test come largely from this compounding.
- Core B positions are not closed on Friday and can be held over the weekend. A price gap can cause a loss larger than the stop.
- The NFP and FOMC dates are built into the EA. The FOMC calendar currently ends in December 2027 (the 2027 dates are tentative) and will need an update.
- Trading gold involves a risk of loss. Please test on a demo account first.
