EA Black Dragon v13.0 MQ5 is the full, editable MQL5 source code of a trend-based grid EA for gold (XAUUSD) and forex pairs. It opens trades when its custom trend indicator changes color, then manages positions with volatility-based or fixed grid spacing and an optional hedge mode.

With the .mq5 file, you can adjust grid distance, lot multiplier, maximum orders and filters in MetaEditor, and compile your own version of this gold grid EA for MetaTrader 5.

Strategy & Trading Logic

Trend-Color Signals: Enters buy or sell trades when the custom trend indicator changes color.

Flexible Order Modes: Manual, hedge and filtered modes, with an optional stochastic filter.

Grid Management: Adds positions at volatility-based or fixed distances, with overlap logic for the last orders.

Gold & Forex: Built mainly for XAUUSD, with set files for EURAUD, GBPUSD, NZDUSD, USDCAD and more.

Any Timeframe: Works on all charts, with M15 to H1 the most popular.

Risk Management & Protection

Exposure Limits: Maximum lot size and maximum open orders per direction.

Autolot & Multiplier: Lot size scales with balance, with an adjustable multiplier.

Trailing Stop: Activates after a set profit to lock in gains.

Spread & Time Filters: Blocks entries during high spreads, with session hours and a Friday end time.

Optional Stop Loss: Can be enabled to cap risk on every basket.

Grid EA Notice: Exposure grows as orders accumulate, so use small lots relative to your balance and test on demo first.

Own the full code of a flexible gold grid system. Get the EA Black Dragon v13.0 MQ5 source code, tune it to your capital and risk, and test it on demo before trading live.