Lock30x XAUUSD
- Experts
- Jarrod Emery
- Versione: 2.52
- Aggiornato: 17 aprile 2026
- Attivazioni: 10
LOCK30X XAUUSD EA - MQL5 Product Description
LOCK30X XAUUSD EA is a gold-focused MetaTrader 5 Expert Advisor designed for active XAUUSD trading on the M5 timeframe.
The EA is built around short-duration price action entries, controlled trade frequency, adaptive lot scaling, protective stale-trade exits, and a professional chart dashboard. It is designed for traders who want an active XAUUSD strategy without relying on uncontrolled grid or martingale recovery.
LOCK30X is especially suited to traders who prefer:
- XAUUSD / Gold trading
- M5 timeframe setups
- Short-duration entries
- Controlled trading windows
- Automatic lot scaling
- Clear chart feedback
- Set-file based optimisation
- Prop-firm style risk awareness
- Clean execution and diagnostics
Core Strategy Concept
LOCK30X XAUUSD EA looks for short-term XAUUSD movement opportunities during selected high-probability market hours.
The system is designed to enter quickly, manage trades actively, and avoid holding weak positions for too long. A key part of the modern set-file logic is the stale-trade exit, which helps reduce exposure when a trade does not move as expected within the preferred time window.
The EA does not use a reckless martingale approach. Lot size can scale with capital, but the included modern set files use controlled caps and risk limits to reduce overexposure.
Main Features
- Built for XAUUSD / Gold
- Designed for M5 timeframe
- Buy and sell setup controls
- Session / hour-based setup filters
- Auto lot scaling based on account equity
- Capital reference balance input
- Maximum lot cap
- Margin usage cap
- Drawdown brake controls
- Recovery mode controls
- Optional no-hedge mode
- Max hold / stale trade exit
- Optional force-close hour exit
- Professional chart panel
- Chart trade markers
- Broker buffer protection
- Tick health monitoring
- Debug and trade event logging options
- Market validation safe mode
Recommended Symbol and Timeframe
Recommended symbol:
XAUUSD / Gold
Recommended timeframe:
M5
The EA may run on other symbols or timeframes, but the included set files were researched specifically for XAUUSD on M5.
Included Set Files
Two modern XAUUSD M5 set files are recommended:
- Recommended Public Set
File name:
LOCK30X XAU EA M5 SETFILE 2026 SMOOTHER SCALING.set
Use this as the main recommended set file for customers.
This version is designed to be the smoother and more conservative modern-market setting. It keeps the proven short-duration XAUUSD behaviour while using slower lot scaling, lower lot caps, margin limits, drawdown brakes, recovery controls, and stale-trade protection.
Best for:
- Safer public use
- Lower drawdown preference
- Modern 2025/2026 XAUUSD conditions
- Traders who want a smoother account curve
- Prop-firm style risk awareness
- Higher Profit / Aggressive Research Set
File name:
LOCK30X XAU EA M5 SETFILE 2025 MODERN STALE EXIT.set
This set is a more aggressive modern-market version. It may produce stronger headline profit in some tests, but it can also be more active and less smooth than the recommended public set.
Best for:
- Experienced users
- Higher profit target testing
- Traders comfortable with more movement in the equity curve
- Research and optimisation
Where to Install the Set Files
After downloading the EA and set files:
- Open MetaTrader 5.
- Go to File -> Open Data Folder.
- Open the MQL5 folder.
- Open the Profiles folder.
- Open the Tester folder.
- Place the .set files there.
Alternative method:
- Open the MT5 Strategy Tester.
- Select LOCK30X XAUUSD EA.
- Open the Inputs tab.
- Click Load.
- Select the desired .set file.
- Start the test or attach the EA to a chart using those inputs.
Recommended first test:
- Symbol: XAUUSD
- Timeframe: M5
- Model: Every tick based on real ticks, if available
- Deposit: match your intended account size
- Spread: current or realistic broker spread
- Date range: recent 2024-2026 data plus separate 2026-only testing
Suggested Starting Setup
For most users, start with:
LOCK30X XAU EA M5 SETFILE 2026 SMOOTHER SCALING.set
This is the recommended set because it is designed for smoother modern-market behaviour and controlled drawdown.
Advanced users may also test:
LOCK30X XAU EA M5 SETFILE 2025 MODERN STALE EXIT.set
This second set can be used as a more aggressive option, but users should backtest it carefully with their own broker data before live use.
Backtest Report
An Excel backtest report is included for review. This report was generated using BlackBull Markets as the broker, testing LOCK30X XAUUSD EA on XAUUSD from 2020 through to the current date.
Please note that backtest results may vary between brokers due to differences in spread, commission, liquidity, slippage, server time, contract specifications, and historical tick data quality. Past performance does not guarantee future results, and users should always run their own backtests with their preferred broker before live trading.
Important Notes
Gold is volatile, and results can vary significantly depending on:
- Broker
- Spread
- Commission
- Slippage
- Server time
- XAUUSD contract specification
- Data quality
- Account leverage
- VPS latency
- Prop-firm rules
- News conditions
Always run your own backtests and forward tests before live trading.
Risk Warning
Trading Forex, CFDs, and Gold involves risk. Past performance does not guarantee future results.
This Expert Advisor is a trading tool, not a guaranteed income system. Use responsible lot sizes, test carefully, and never trade money you cannot afford to lose.
For best results, use a reliable broker with strong XAUUSD execution, low spread, and accurate tick data.
Recommended Product Positioning
LOCK30X XAUUSD EA is best described as:
A modern XAUUSD M5 short-duration trading EA with controlled session filtering, adaptive risk management, stale-trade protection, and professional chart diagnostics.
Suggested short marketplace summary:
LOCK30X XAUUSD EA is a professional Gold M5 Expert Advisor designed for short-duration XAUUSD setups, controlled trading windows, automatic lot scaling, stale-trade exits, and modern risk management. Includes smoother public settings and a more aggressive research set for advanced users.
Additional High-Lot Research Set
A third optional set file is also included for research and advanced backtesting:
LOCK30X XAU EA M5 SETFILE 2026 SMOOTHER SCALING HIGH LOT RESEARCH.set
This set file uses the same core logic as the smoother scaling version, but with more aggressive lot-growth settings. It increases the step lot increment and allows a higher maximum lot cap. This may produce stronger results in favourable market conditions, but it can also increase drawdown, account exposure, and risk during losing periods.
This high-lot set is intended for experienced users, research purposes, and controlled backtesting only. It is not the recommended default setting for conservative live trading.
The screenshots shown in this product page were generated from backtests using the high-lot research set file. Results may vary depending on broker, spread, commission, slippage, server time, leverage, and historical tick data quality. Past performance does not guarantee future results.


Good Robot