Gunshi Kanbei
- Experts
- Version: 1.1
- Mise à jour: 6 décembre 2026
- Activations: 10
GUNSHI-KANBEI is a multi-timeframe, multi-strategy consensus Expert Advisor engineered specifically for Gold (XAUUSD). Inspired by legendary Japanese strategist Kuroda Kanbei, the system coordinates an ensemble of 100 independent strategies across 9 native timeframes (M2, M3, M4, M5, M6, M10, M12, M15, and M20) and executes entries only when strict causal consensus, volatility, and risk filters align.
No grid, no martingale, no averaging down, and no dangerous lot multiplication. Every trade uses a fixed base lot size protected by a hard Stop Loss, Take Profit, time-based exit, and automatic Break-Even profit lock.
=== KEY FEATURES ===
1. Multi-Timeframe Causal Consensus Engine
- Evaluates 100 distinct strategies spanning fast intraday timeframes (M2-M12) and medium-term structural timeframes (M15-M20).
- Entries require multi-strategy directional agreement with zero opposing signals inside the voting window, filtering out isolated market noise.
- Anti-burst execution restricts new entries to at most 1 order per bar and strictly caps total concurrent exposure (default: 7 open positions on Hedging accounts; automatically adapts to 1 position on Netting accounts).
2. Five Tactical Presets (One-Click Dropdown)
- [FUJIDOMOE] Iron Core High-PF (Default): Strict 3-vote consensus with balanced break-even lock and disciplined drawdown control.
- [SUIGOSOKU] Balanced High-WR: Adaptive 2-vote consensus with earlier break-even lock for higher win rate and faster slot turnover.
- [AKAGOUSU] Vanguard High-Freq: High-turnover fast-scalp configuration for active intraday trading.
- [CHORYAKU] Ultra Win-Rate Sniper: Early break-even lock combined with wider SL breathing room for maximum win-rate focus.
- [JIZAI] Custom Manual Parameters: Full manual control over all consensus, exit, and risk management settings.
3. Adaptive Volatility & Spread Protection
- Dynamic Spread-to-ATR filter (default 0.07) automatically pauses low-timeframe micro-entries during quiet, low-volatility conditions where spread costs dominate, while allowing cleaner higher-timeframe strategies (M15/M20) to operate.
- Absolute spread cap (default 500 points) protects against abnormal liquidity spikes.
- Spread-aware Break-Even offset ensures profit locks always clear live market spread.
4. Live-Trading Safeguards
- Automatic Restart State Recovery: Persists active position metadata via terminal Global Variables and automatically recovers open positions after MT5/VPS restarts or timeframe changes.
- High-Impact USD News Blackout: Uses the native MT5 Economic Calendar to pause new entries before and after high-importance USD releases (live and demo accounts).
- Broker-Agnostic Session & US-DST Rollover Guard: Respects native broker trade sessions plus automatic US Daylight Saving Time rollover cutoffs and optional Friday pre-close protection.
- Full Pre-Flight Execution Verification: Validates volume step/limits, margin level, tick-size price alignment, StopsLevel/FreezeLevel, and runs native OrderCheck() before every order.
- Daily Realized + Floating Loss Circuit Breaker, Consecutive Loss Stop, and Emergency Floating Equity Protection.
- Multi-Currency Account Normalization (USD, JPY, EUR, GBP, etc.) with automatic broker symbol suffix detection (e.g., XAUUSDm, XAUUSD.pro).
=== RECOMMENDED SETUP ===
- Symbol: XAUUSD (Gold) — supports standard and suffixed symbols (XAUUSDm, XAUUSD.a, etc.)
- Chart Timeframe: M1 (the EA internally reads M2-H4 data automatically)
- Account Type: Hedging recommended (Netting fully supported with automatic 1-position cap)
- Broker Conditions: Low-spread ECN / Raw Spread account recommended
- Minimum Recommended Deposit: $1,000 USD for 0.01 lot ($10,000 USD recommended for conservative margin headroom)
- Leverage: 1:100 or higher recommended
- VPS: Recommended for 24/5 continuous operation and uninterrupted break-even management
=== MAIN INPUT PARAMETERS ===
- Strategy Mode Preset: Select from [FUJIDOMOE], [SUIGOSOKU], [AKAGOUSU], [CHORYAKU], or [JIZAI] (Custom).
- Active Top-Ranked Logics (1..100): Number of active strategies in the ensemble.
- Max Concurrent Open Positions: Maximum simultaneous open slots (default 7 on Hedging; auto-capped at 1 on Netting).
- Max Slow (M15..H1) Concurrent Slots: Limits simultaneous medium-timeframe slots (default 1; set 0 for pure fast M2-M12 mode).
- Max Spread / TF ATR14 Guard: Volatility-normalized spread filter (default 0.07).
- Absolute Max Spread Guard (Points): Hard ceiling on live spread in points (default 500).
- Enable HIGH-Impact USD News Blackout: Pauses new entries around major USD news via MT5 Calendar (live/demo).
- Base Lot Size: Fixed base volume per position (default 0.01; automatically clamped to broker symbol limits).
- Daily Loss Stop (% Balance) & Emergency Floating DD Close-All (% Balance): Daily realized + floating loss stop and emergency equity protection.
- Magic Number: Unique identifier for order separation (unified order comment: "KANBEI").
=== RISK DISCLAIMER ===
Trading foreign exchange and precious metals (XAUUSD) on margin carries a high level of risk and may not be suitable for all investors. Past performance in backtests or forward tests does not guarantee future results. Always test the Expert Advisor thoroughly on a demo account with your broker's real spreads and execution conditions before deploying on a live account.
