Golden Commander EA — Ultimate User Guide & Strategy Breakdown

Golden Commander EA — Ultimate User Guide & Strategy Breakdown

25 May 2026, 18:44
Evgenii Kapustin
0
6
Golden Commander is a premium, fully automated trading system developed for professional XAUUSD (Gold) trading. It combines institutional order block analysis, momentum filters, and a dynamic hybrid engine to deliver consistent results under any market conditions.

This guide provides a detailed technical breakdown of the EA's mathematical models, on-chart dashboard controls, and an in-depth explanation of every setting.

1. Quick-Start Guide (Launch in 3 Steps)

If you want to start trading immediately with the default optimized settings:

  • Step 1: Drag the EA onto the XAUUSD chart strictly on the M15 timeframe.
  • Step 2: In the EA properties window, under the "Common" tab, check "Allow Live Trading". (Note: DLL imports are NOT required. Golden Commander runs on 100% native secure code).
  • Step 3: Select your WorkMode:
    • Set it to WorkMode_Standard for conservative trend-following (1 order in the market with Partial TP and Trailing Stop).
    • Set it to WorkMode_Grid for adaptive grid recovery (multiple orders averaging position on retracements).
  • Step 4: Set your lot size:
    • For standard mode, you can enable AutoLot = true with RiskPercent = 0.5.
    • For grid mode, set FixedLot manually (recommended: 0.01 lot per every $1000 of account balance).

2. Dynamic Work Modes Explained

STANDARD Mode (Trend Following)

Designed for conservative traders. The EA opens a single position following the H1 trend and uses a sophisticated 3-stage profit-taking mechanism:

  • TP1 (Closes 50% of volume): Once the first target is hit, 50% of the lot size is closed to lock in initial profits, and the Stop Loss of the remaining position is moved to breakeven + a small lock-in profit (BE_LockPips).
  • TP2 (Closes 30% of volume): Closes another portion, and activates the Trailing Stop to follow the price.
  • TP3 (Closes remaining volume): Exits the final part of the trade at the main target.

GRID Mode (Smart Recovery)

Designed to recover floating drawdowns when the price temporarily moves against the initial trade:

  • Dynamic Grid Spacing: The distance between orders is adjusted dynamically using the H1 ATR (volatility).
  • Distance Multiplier: The spacing increases exponentially with each new order (GridDistanceMult = 1.15). This prevents the EA from opening too many orders during strong, non-retracing trends.
  • Weighted Average Exit: The EA calculates the average break-even price of the basket and closes all grid orders simultaneously at the target profit point (GridTargetProfit).

3. On-Chart Dashboard & Mouse Controls

Golden Commander features a premium interactive control panel that allows manual adjustments directly on the chart:

  • Drag & Drop: You can drag the panel anywhere on the chart by clicking and holding its header (the top bar with the EA status). Position coordinates are automatically saved to the terminal's cache and restored upon restarts.
  • Mobile / RDP Protection: If you log in via a mobile phone RDP client with a smaller screen resolution, the Auto-Clamping system automatically shifts the panel to keep it fully visible.
  • Permissive Toggles (BUY: ON/OFF & SELL: ON/OFF): Restricts the EA to only open trades in the selected direction.
  • Pause Grid Toggles (PAUSE BUY / PAUSE SELL): Stops the EA from adding new grid recovery steps for that direction, allowing you to manage drawdowns manually.
  • Manual Execution (MANUAL BUY / MANUAL SELL): Instantly executes market orders with the lot size specified in the dashboard's interactive input box (Lot).
  • Emergency Close (CLOSE BUY / CLOSE SELL / CLOSE ALL): One-click buttons to instantly close active trades.
  • Strategy Toggle (STANDARD / GRID MODE): Switch between work modes in one click (only allowed when there are no active positions).
  • Auto Toggle (AUTO ON / MANUAL / PAUSED): Easily activate or pause automated trading.

4. Glossary: Pips vs. Points on Gold

To configure the settings correctly, please understand how your broker quotes Gold:

  • Point (Pt): The minimum price change. On a standard 2-digit gold broker (e.g. 2350.15), 1 Point = 0.01. On a 3-digit broker (e.g. 2350.155), 1 Point = 0.001.
  • Pip: Standardized pip size. In this EA, 1 Pip = 10 Points.
    • Example: If the setting is GridStepPips = 200.0, it means the grid step distance is 2000 points (which equals $20.00 movement in Gold price).
    • Example: If GridTargetProfit = 150.0 points, the consolidated profit target is 150 points ($1.50 movement in Gold price).

5. Settings & Parameters Breakdown

5.1. General Settings

  • CustomComment (Default: "Golden Commander"): Text comment attached to all orders opened by the EA.
  • AutoStart (true/false): If set to true, the EA starts trading automatically upon loading.
  • MagicNumber (Default: 202644): Unique ID for the EA's trades. Must be unique if running multiple instances of the EA.
  • Slippage (Default: 30 points): Maximum price slippage allowed for trade execution.
  • MaxSpread (Default: 40.0 points): Prevents the EA from entering new cycles if the spread is wider than this value.
  • TradeFriday (true/false): Allows the EA to start new trading cycles on Fridays.

5.2. Session Time Filters

  • UseSessionFilter (true/false): Enables trading time limits.
  • SessionStartHour (Default: 8): Hour to start scanning for entries (Broker Server Time).
  • SessionEndHour (Default: 20): Hour to stop scanning for new entries.

5.3. Trading Mode

  • WorkMode (WorkMode_Grid / WorkMode_Standard): Sets the primary strategy for position management.

5.5. Grid Recovery Parameters [Grid]

  • UseDynamicGridStep (true/false): Automatically expands the grid step based on the H1 ATR (volatility).
  • GridStepPips (Default: 200.0 pips): Base grid spacing.
  • GridMultiplier (Default: 1.5): Martingale multiplier for consecutive grid orders (e.g., 0.01 -> 0.01 -> 0.02 -> 0.03 -> 0.05 etc.).
  • MaxGridOrders (Default: 10): Maximum allowed open orders in a grid basket.
  • GridTargetProfit (Default: 150.0 points): Weighted average profit target to close the basket.
  • GridDistanceMult (Default: 1.15): Distance expansion multiplier. Spacing is multiplied by this factor for each new level: Step_N = Base Step * (GridDistanceMult)^(N-1)
  • GridATR_Multiplier (Default: 0.35): Volatility factor for dynamic spacing when UseDynamicGridStep = true.

5.6. Exits - Standard Mode [Std]

  • UsePartialClose (true/false): Activates 3-stage partial closures.
  • UseATR_TP (true/false): Uses H1 ATR to calculate dynamic Take Profit levels.
  • TP1_ATR_Mult (Default: 0.8): ATR multiplier for the first target (TP1).
  • TP2_ATR_Mult (Default: 1.5): ATR multiplier for the second target (TP2).
  • TP3_ATR_Mult (Default: 2.5): ATR multiplier for the main target (TP3).
  • TP1_Pips (Default: 120 points): Fixed TP1 distance (used if UseATR_TP = false).
  • TP2_Pips (Default: 240 points): Fixed TP2 distance.
  • TP3_Pips (Default: 400 points): Fixed TP3 distance.
  • TP1_ClosePercent (Default: 0.50): Volume percentage to close at TP1.
  • TP2_ClosePercent (Default: 0.30): Volume percentage of the initial lot to close at TP2.

Breakeven & Trailing Stop [Std]

  • UseBreakeven (true/false): Enables the breakeven feature.
  • UseATR_BE (true/false): Dynamic breakeven activation using ATR.
  • BE_ATR_Mult (Default: 0.8): ATR multiplier for the breakeven trigger.
  • BE_TriggerPips (Default: 80 points): Fixed profit distance to trigger breakeven (if UseATR_BE = false).
  • BE_LockPips (Default: 15 points): Profit locked in when SL is moved to breakeven.
  • UseTrailing (true/false): Enables trailing stop.
  • UseATR_Trail (true/false): Dynamic trailing stop using ATR.
  • Trail_ATR_Start (Default: 1.0): ATR multiplier to start trailing.
  • Trail_ATR_Dist (Default: 0.6): ATR multiplier for trailing distance.
  • TrailStartPips (Default: 120 points): Fixed profit to start trailing (if UseATR_Trail = false).
  • TrailDistPips (Default: 50 points): Fixed trailing distance.
  • TrailStepPips (Default: 10 points): Trailing step size.

Initial Stop Loss [Std]

  • UseInitialSL (true/false): Enables initial Stop Loss.
  • UseATR_SL (true/false): Dynamic Stop Loss based on ATR.
  • SL_ATR_Mult (Default: 1.3): ATR multiplier for Stop Loss.
  • SL_Pips (Default: 250 points): Fixed Stop Loss distance.

5.7. Virtual Levels & Safety

  • UseVirtualLevels (true/false): Masks SL and TP from the broker. Trades are managed internally by the EA.
  • ShowVirtualLines (true/false): Draws virtual SL/TP target lines on the chart.
  • UseCooldown (true/false): Pauses trading after consecutive losses.
  • MaxConsecLosses (Default: 3): Allowed consecutive losses before trigger.
  • CooldownBars (Default: 8): Pause duration in candles.
  • PanelScale (Default: 1.0): Scale multiplier for the graphical user interface.

6. Recommendations & Technical Specifications

  1. DLL Imports NOT Required: Golden Commander runs 100% on native MQL4 code. You do not need to enable DLL imports. This guarantees the highest level of security for your account.
  2. Account Types: ECN, Raw Spread, or Pro accounts with low spreads on XAUUSD (ideally averaging 15–30 points) and Market Execution are highly recommended.
  3. VPS Hosting: A stable VPS with low latency (ping < 20ms) to your broker is recommended to ensure virtual levels (UseVirtualLevels) are processed instantly.

7. Risk Disclaimer

Trading financial instruments, especially Gold (XAUUSD) with leverage, involves high risk and may not be suitable for all investors. Past performance does not guarantee future results. It is highly recommended to test the EA on a demo account or backtest it inside the MetaTrader Strategy Tester before trading with real funds.

Contact Developer: If you have any questions regarding optimization, broker setups, or presets, please send me a private message on MQL5.
MQL5 Developer Profile: https://www.mql5.com/en/users/daft765