DiginGold EA V1.0 MT5 — A Simple Range-Mode Strategy for XAUUSD
DiginGold EA V1.0 is a MetaTrader 5 Expert Advisor built specifically for Gold (XAUUSD). It’s designed for range conditions—those quieter, sideways phases where price oscillates between support and resistance instead of trending. If you’re tired of bots that only work when gold explodes in one direction, DiginGold takes a different angle: keep it simple, keep it steady, and use clear money-management rules you control.
Below, you’ll find how it works, when to use it, recommended position settings, and the lot-sizing approach (including examples) that matches the author’s guidance.
What Makes DiginGold EA Different?
- Gold only (XAUUSD): No guesswork about symbols. Every line of logic is aimed at gold’s unique behavior.
- Built for ranges: You deploy it when the market is ranging, not when it’s trending hard.
- Clear lot rules: For fixed volume, set
minlot=maxlotso the EA runs a constant lot size per trade. - Position count: Recommended 20 positions maximum. This helps distribute entries inside the range rather than loading all risk at once.
- Scaling guidance: Increase 0.01 lot for every $5,000 in deposit/equity.
- Baseline capital: Minimum deposit $5,000 to start with 0.01 lot safely.
This isn’t a martingale or a grid spammer. It’s a bounded approach meant to work inside a box—literally. Use it in consolidation periods; avoid news spikes and trend breakouts.
When to Use DiginGold (and When Not To)
Use it when:
- Price is bouncing between well-defined support and resistance, with no clear directional trend.
- Volatility compresses (tight candles, lower ATR compared with recent sessions).
- You can draw a simple range “box” on the chart and price keeps respecting it.
Avoid it when:
- High-impact news (CPI, NFP, FOMC) is near—gold can rip out of a range violently.
- You see impulsive breakouts with strong closes outside the range.
- Spreads are unusually wide (rollover, holidays, broker issues)
Recommended Positioning & Lot Sizing
The author’s simple capital-to-lot rule keeps risk aligned with account size:
- Minimum deposit: $5,000 → 0.01 lot
- $10,000 → 0.02 lot
- $15,000 → 0.03 lot
- $20,000 → 0.04 lot
- …and so on (+0.01 lot per additional $5,000)
For fixed volume, set minlot = maxlot to the chosen lot size. This keeps each order consistent and predictable.
Number of positions: 20 (recommended).
This cap helps distribute entries across the range while keeping total exposure bounded. If price wanders inside the box, you’re not all-in at one level; instead, you’ve got multiple modest entries that can mean-revert as price oscillates
Practical Setup (MT5)
- Download the DiginGold EA V1.0 file.
- In MT5 → File → Open Data Folder → go to MQL5/Experts and paste the EA file.
- Restart MT5. In Navigator → Experts, drag DiginGold onto an XAUUSD chart.
- Inputs:
- Set
minlotandmaxlotequal (fixed volume). - Set Max Positions to 20.
- Verify any range-mode toggles/filters (if provided).
- Chart timeframe: Ranges often show clearly on M5–M30; H1 can work too if you prefer fewer, larger swings. (Start on M15/M30 to balance signal frequency vs. noise.)
- AutoTrading: Turn it ON and confirm algos are allowed in your platform/broker.
- VPS: Strongly recommended for stable, 24/5 uptime and consistent execution.
Risk & Money Management (Read This Twice)
- Fixed lots + 20 positions keeps things controlled—but only if your lot size matches equity. Stick to the +0.01 per $5,000 guideline (or go even more conservative).
- Daily loss stop: Decide a personal daily max loss (e.g., 2%–4%) and stop trading for the day if hit. Even range bots can suffer when ranges break.
- News filter (manual): If the EA doesn’t auto-pause for news, do it yourself around major events.
- Broker matters: Tight, stable spreads on XAUUSD make a big difference in range strategies. If your spread balloons randomly, consider a different account type or broker.
How to Identify Healthy Ranges (Simple Checks)
- Touch count: At least 3 touches on top/bottom without clean breaks.
- Wicks & overlap: Candles show overlap and wicky rejections at edges.
- ATR compression: ATR lower vs. recent trending periods (you don’t need a specific value; just compare).
- Session behavior: Asia session often ranges; London/NY can break out. If your range forms late in NY and persists into Asia, that can be a sweet spot—just keep an eye on any scheduled news.
Forward Testing Plan (2–4 Weeks)
- Demo first: Start with $5,000 demo, 0.01 lot, 20 positions.
- Pick safer windows: Begin in calmer sessions; avoid red-flag calendar days.
- Journal: Log date/time, range size (pips), lot size, number of active positions, outcome.
- Adjust slowly: If equity grows and results look stable, consider 0.02 lot at $10k (still demo).
- Go live small: Only after consistent demo results—start with half your demo risk for a week, then scale.
Common Pitfalls (and How to Dodge Them)
- Running during breakouts: If you see a decisive close out of the box, stop the EA; reset when a new range forms.
- Oversizing lots: Jumping to 0.05 on $5k because the last week was great is how good weeks get erased.
- Ignoring spreads: A 30–60 point spread on gold can ruin mean-reversion math. Monitor your broker’s typical spreads at your chosen hours.
- Trading right into news: The fastest way to turn a range into a runway. Pause and return after the dust settles.
Example Walkthrough
- Equity: $10,000
- Lot size (fixed): 0.02 (since +0.01 per $5,000)
- Max positions: 20
- Range size: Suppose ~500–800 points (gold points, broker-defined).
- Outcome logic: As price oscillates, partial or full closures around the mid-range and opposing boundary aim to accumulate small gains.
- Control: If the range breaks decisively, you step aside and wait for a new box to form before redeploying.
Final Take
DiginGold EA V1.0 MT5 is intentionally straightforward: Gold only, range conditions, fixed lots, and a clear position cap. The strength of the approach is its clarity—you always know why it’s running, how much it can expose, and when it’s best to pause. Follow the +0.01 lot per $5k guideline, keep positions to 20, and respect news and breakouts. Do that, and you’ll give the strategy the fair environment it was built for.
Disclaimer: Trading involves risk. Past performance doesn’t guarantee future results. Always forward-test on demo and use risk capital you can afford to lose. Nothing here is financial advice.
Join our Telegram for the latest updates and support


Comments (0)
No comments yet. Be the first to comment!
Leave a Comment