Gold Structure Grid Pro
- Experts
- Versione: 1.21
- Attivazioni: 20
Gold Structure Grid Pro
Gold Structure Grid Pro is an automated execution Expert Advisor engineered specifically for Gold (XAUUSD). The system identifies key institutional liquidity levels through multi-bar fractal swing pivots, combining Supply and Demand zones with a disciplined, dollar-step grid framework.
Built strictly to comply with modern broker standards and MQL5 Market execution tests, the advisor supports independent directional baskets, built-in server-side hard Stop Loss and Take Profit levels, and strict margin-drawdown circuit breakers.
Key Features & Strategy Architecture
-
Fractal Market Structure Detection: Scans real-time price action to isolate significant swing highs and swing lows. Swing highs establish Supply (resistance) regions, while swing lows establish Demand (support) regions.
-
Optional 200 EMA Macro Filter: Filters trade directions according to higher-timeframe trend momentum, or operates bi-directionally during range-bound conditions.
-
Price-Action Based Dollar Grid: Built for gold's price mechanics. Grid levels space out according to actual USD price movements in gold (e.g., $5.00 steps) rather than arbitrary pip calculations.
-
Independent Buy & Sell Baskets: Long and Short baskets execute independently with isolated risk calculations. Liquidating a profitable Buy sequence does not close or modify open Sell positions.
-
Hard Server-Side SL & TP: Every open order receives a defined Stop Loss and Take Profit placed directly on the broker's server, protecting the account against connectivity dropouts or platform freezes.
-
Pre-Trade Free Margin Verification: Validates margin requirements before placing each order, eliminating margin-exhaustion rejections during volatile market swings.
-
Netting & Hedging Compatibility: Features adaptive volume constraints and automatic execution scaling for both retail hedging accounts and netting environments.
Setup & Recommended Specifications
-
Symbol: XAUUSD, XAUUSDm, GOLD
-
Timeframe: M15
-
Account Type: Hedging recommended (Netting supported)
-
Minimum Balance: $250 – $500 (depending on broker contract size and leverage)
-
Hosting: Low-latency VPS recommended for 24/5 continuous monitoring
Parameter Guide
1. Market Structure (Supply & Demand / S&R)
-
InpSwingLookbackBars : Number of bars evaluated to calculate fractal pivot highs and lows (default: 30).
-
InpZoneToleranceUSD : Proximity threshold in Gold dollars to trigger an initial entry (default: 3.0).
-
InpRequireNewZones : When set to true, requires the formation of a fresh structural swing before opening another sequence.
2. Trend & EMA Filter
-
InpUseEMAFilter : Enables or disables the 200 EMA directional filter.
-
InpEMATimeframe : Timeframe monitored by the EMA filter (default: M15).
-
InpEMAPeriod : Calculation period for the moving average (default: 200).
3. Grid Mechanics & Multi-Position
-
InpInitialLot : Base volume for the primary entry order (default: 0.01).
-
InpLotMultiplier : Multiplier for subsequent grid orders (1.0 = linear fixed volume).
-
InpGridStepUSD : Price movement distance in Gold dollars required before placing subsequent grid legs (default: 5.0).
-
InpMaxGridOrders : Maximum number of open positions allowed per direction (default: 5).
4. Order-Level Hard SL & TP
-
InpOrderStopLossUSD : Hard SL distance from entry price in Gold dollars (0 = disabled).
-
InpOrderTakeProfitUSD : Hard TP distance from entry price in Gold dollars (0 = disabled).
5. Basket Profit & Drawdown Controls
-
InpBasketTargetProfit : Combined dollar profit target to close all open trades in a directional basket.
-
InpMaxEquityDrawdown : Maximum allowable basket loss percentage based on account balance (circuit breaker).
-
InpMaxSpreadPoints : Spread filter in points to pause execution during wide spreads or rollovers.
6. System Execution
