Summary: A structured hedging grid system for gold. Focuses on layered entries, hedging at thresholds, and trend-following addition. Avoids martingale. Includes practical rules for ranging markets.




Title: Non-Martingale Hedging Grid Strategy for Gold: Trend-Following Addition

Golds volatility demands a strategy that profits from ranges yet survives trends. The classic Hedging Grid + Trend-Following Addition avoids martingales exponential risk. Heres how to build it.

1. Core Logic: The Three-Layer Structure
  • Base Grid: Place buy/sell limit orders at fixed pips intervals (e.g., every 15 pips on XAUUSD M15 chart).

  • Hedging Trigger: When a grid series floats a loss >1.5% of account, open an opposite hedge position.

  • Trend-Following Addition: Never average down on losers. Instead, after the first hedge, add to winning positions only when price moves 1x ATR in your favor.


  • 2. Ranging Market Compatibility – The "Anti-Trap" Filter
    To avoid whipsaws, add a volatility filter. Trade only when 14-period ATR > 2x its 50-period moving average. During low volatility (< 1.5x ATR average), pause new grid entries – wait for breakout confirmation.

    3. Hedging Activation Rules (Non-Martingale)
    This is the key safety valve.
  • Activation: Net drawdown from one direction reaches 2% of account balance.

  • Hedge Size: 50% of the opposing grids total volume (e.g., 0.10 lots long -> open 0.05 lots short).

  • Hedge Closure: Close the hedge when it profits by 1x ATR, reducing the net exposure, then resume grid.


  • 4. Position Sizing for Survival
  • Base Unit: 0.01 lots per $1000 account balance.

  • Max Grid Layers: 5 levels per direction.

  • Total Risk Cap: Sum of all floating losses + open position risk must never exceed 6% of account.


  • 5. Practical Steps to Build & Test
  • Step 1: Backtest 3 months of ranging gold price action (e.g., Jun-Aug 2025) on M15.

  • Step 2: Record two metrics: Maximum Hedging Frequency and Average Recovery Time.

  • Step 3: If max drawdown > 10% or recovery time > 48 hours, widen grid spacing by 30%.


  • Reference:
  • Jawad Atieh Youssef. (2025). Gold 4 Gold EA. MQL5 Market.

  • EABang Forum. (2024). Hedging Development Suggestions.