Switch Grid
- Experts
-
Agus Santoso
DISCLAIMER ON : The author of EA will not be held responsible for your losses or problems of any kind if the EA is directly or indirectly responsible for any losses.
Our software is provided “as is”, without any warranty or condition of any kind, express, implied or statutory. - Version: 1.1
- Updated: 24 February 2026
- Activations: 5
MT4 Version : https://www.mql5.com/en/market/product/165891
MT5 Version : https://www.mql5.com/en/market/product/165892
Switch Grid — Alternating Hedge Grid EA
Switch Grid is a smart hedging grid Expert Advisor that builds positions in a clean alternating sequence
Instead of stacking orders in one direction, Switch Grid “switches” direction every time price moves away from the last entry price by a dynamic step. This creates a controlled grid structure designed for range markets and volatile instruments like XAUUSD (Gold).
Key Idea: “Switch” Logic
Once a trading cycle starts, the EA will:
Track the last EA order (type + open price).
Measure distance from the last entry price.
When the distance reaches the required step (Dynamic Step). it opens one new order in the opposite direction.
This produces a balanced, disciplined grid that is easy to audit and consistent across sessions.
Main Features
Alternating Switch Grid
Clean order structure: no random stacking, always opposite of the last order.
Dynamic Step Distance
Grid spacing adapts automatically to volatility.
When the market is calm → tighter steps,
When volatility increases → wider steps.
XAUUSD Spread Filter
Optional spread protection designed for Gold trading conditions.
Risk Management Controls
Per-cycle TP in Money or Percent
Per-cycle SL in Money or Percent
Daily Profit Target (Money / Percent)
Daily Max Loss Limit (Money / Percent)
Trading Session Filter
Limit trading to specific hours to avoid unstable spreads and low liquidity periods.
Force Close + Pause Until Next Day
Optional feature to automatically close EA positions at a chosen time and pause trading until the next day.
Max Order Levels
Control grid depth with a strict maximum number of orders.
One-Click CLOSE ALL Button
Manual emergency exit directly on the chart (use with caution).
Recommended Instruments & Timeframes
Best for: XAUUSD (Gold), major FX pairs with stable execution
Suggested timeframe: M5 – M15
Preferred market condition: Sideways / range / mean-reversion behavior
Note: Grid & hedging strategies carry risk. Always start with a small lot size and test on a demo account first.
Why Traders Choose Switch Grid
Switch Grid is made for traders who want:
A clean and predictable grid sequence (alternating orders)
A volatility-aware step system
Practical safety tools for real broker conditions (spread filter, session filter, daily limits)
If you like structured grid logic and want an EA that behaves consistently and transparently, Switch Grid is built for you.

