Gold Scalping Machine Multi Breakout Strategies
- Experts
-
Alexis Dufays
👨💻 DEVELOPER • INVESTOR • ALGORITHMIC TRADING
I’m a developer and investor focused on building, testing and investing in data-driven systems.
My work covers algorithmic trading, Expert Advisors, copytrading, broker execution analysis, crowdlending and alternative investments. - Version: 1.0
- Activations: 5
Gold Scalping Machine is an automated Expert Advisor for gold (XAUUSD) on MetaTrader 5. It runs six independent breakout strategies from a single chart. Each strategy uses its own entry logic, trading hours and exit rules, and has its own magic number.
Live signal: https://www.mql5.com/en/signals/2391372
Strategies
- Daily breakout: pending orders above the previous day’s high and below its low.
- M15 swing breakout: pending orders at the latest swing high or low, found with a ZigZag swing detector.
- H1 zone breakout with M5 timing.
- to 6. Three H1 zone breakouts with M15 timing, each with its own distances and trading windows.
Trade management
Every trade has a stop loss. The robot does not use grid, martingale or averaging. Breakeven and trailing stop are managed on every tick. Zone trades are closed early when the next candle closes against the entry. New entries are paused when the spread is too wide, on weekends, outside the trading sessions and from December 15 to January 5. Before sending, each order and modification is checked against the broker’s volume, stop level and margin requirements.
All distances are percentages of the gold price, so stop loss and take profit adjust automatically when the price level changes.
Settings
Lot sizing mode: risk level or fixed lot. Risk level: eight levels from Low to Gambling; each one scales the risk of all six strategies, and the lot size is calculated from account equity and the stop loss distance. Fixed lot size and maximum lot size. Maximum spread in percent of the price (for example, 0.004% at a gold price of 4000 is a spread of 0.16). Year-end holiday filter. Magic number (strategies use the magic number plus 1 to 6; use numbers at least 10 apart on different charts). Order comment.
Requirements
Gold symbol (suffixes such as XAUUSD+ are supported), hedging account, one chart. The chart timeframe does not matter.
A raw spread (ECN) account with a broker that offers fast execution and low slippage is required. The strategies enter with pending stop orders and use short stop losses, so slippage on entry directly increases the loss of a trade. A virtual private server close to the broker’s server is recommended to reduce execution delay.
The robot can start with 100 USD of equity. With a small balance, the broker’s minimum lot of 0.01 can be larger than the lot calculated from the risk level. Strategies 1 and 2 then risk more than the selected level, up to about 3% per trade at 100 USD. Use the Low risk level for small accounts.
Risk information
Trading gold with leverage involves a high level of risk. Backtest results do not guarantee future results. Test the robot on a demo account first and start with a low risk level.
