Trading robot · MT5

Ghosts Brigad EA

by Massi93

Ghosts Brigad is a multi-strategy MetaTrader 5 scalping expert advisor designed for trading instruments such as EURUSD, XAUUSD, and BTCUSD.

High risk

GitHub stars1
Forks0
Last update10 days ago28 Oct 2026
LicenceNone stated

Overview

Ghosts Brigad EA features multiple configurable entry modules including EMA crossover, RSI mean-reversion, Bollinger Bands, MACD momentum, and Support/Resistance price action, alongside a signal confluence engine. Risk controls include configurable trading hours, weekend position closure, ATR-based volatility regime filters, news blackout periods, loss streak cooldowns, and sentiment filtering via an external Python Sentinel integration.

Details

Author

Massi93 on GitHub

Type

Trading robot

Strategy

Scalping, Mean reversion, Indicator crossover, Multi-strategy, Martingale

Markets

Forex, Gold, Crypto

Timeframes

M1-M5, M15-H1

Risk Profile

  • Uses martingale lot scaling: losses can grow fast

Input Parameters

Read from GhostsBrigad_EA.mq5. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
InpStrategyENUM_STRATEGYSTRATEGY_COMBOActive Strategy
InpSymbolstringSymbol (blank = chart symbol)
InpTimeframeENUM_TIMEFRAMESPERIOD_M5Main Timeframe
InpMagicNumberlong202401Magic Number
InpTradeCommentstringGhostsBrigadTrade Comment
InpUseTimeFilterbooltrueEnable Time Filter
InpStartHourint8Start Hour (08:00 London open)
InpEndHourint20End Hour (20:00 NY close)
InpNoTradeOnFridaybooltrueClose Positions Before Weekend
InpAccountTypeENUM_ACCOUNT_TYPEACC_AUTOAccount Type (Standard/Cent/Pro/Raw/Zero)
InpCommissionPerLotdouble-1.0Commission USD/lot/side (-1 = default for type)
InpMaxTotalCostPipsdouble3.0Max Total Cost: spread+commission (pips)
Show all 40 inputs
NameTypeDefaultDescription
InpCostTPMultipledouble3.0TP must be >= N x total cost
InpUseSentinelbooltrueUse Sentinel Feed (if service running)
InpSentinelMaxAgeMinint30Max Feed Age (minutes)
InpSentinelVetoLeveldouble0.5Veto Level (block trades against sentiment)
InpSentinelMinConfdouble0.3Min Confidence to act on sentiment
InpUseNewsBlackoutbooltrueBlock Entries Around High-Impact News
InpBlackoutPreMinint30Blackout Before Event (minutes)
InpBlackoutPostMinint15Blackout After Event (minutes)
InpCloseBeforeNewsboolfalseClose Positions Before High-Impact News
InpUseVolRegimebooltrueVolatility Regime Filter
InpAtrBasePeriodint100ATR Baseline Period
InpMinAtrRatiodouble0.7Min ATR / Baseline Ratio
InpMaxAtrRatiodouble2.0Max ATR / Baseline Ratio
InpUseExhaustionFltbooltrueSkip After Exhaustion Bar
InpExhaustionMultdouble2.5Exhaustion Bar (x ATR)
InpUseRolloverFltbooltrueRollover Blackout (spread spike)
InpRolloverStartint22Rollover Start Hour (server)
InpRolloverEndint23Rollover End Hour (server)
InpUseLossCooldownbooltrueCooldown After Loss Streak
InpCooldownLossesint3Losses to Trigger Cooldown
InpCooldownMinutesint120Cooldown Duration (minutes)
InpMaxTradesPerDayint10Max Trades Per Day (0 = off)
InpMinBarsBetweenint3Min Bars Between Entries
InpUseAdaptiveRiskbooltrueAdaptive Risk (anti-martingale)
InpUseConfluencebooltrueEnable Confluence Gate
InpConfluenceMindouble20.0Min Score to Confirm Signal (0-100)
InpConfluenceMinNint2Min Methods With an Opinion
InpConfDowbooltrueDow Theory (market structure)

How to Install It

  1. 1Download the sourceUse "Download source (.zip)" above, or clone Massi93/ghosts-brigad from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
  3. 3Copy the filesCopy the .mq5 file into Experts, and any .mqh files into the Include folder the code expects.
  4. 4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
  5. 5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.

Similar Expert Advisors

1 stars

This expert advisor for MetaTrader 4 is a multi-strategy robot focused on the recovery zone management technique. It offers a wide array of entry signals, including RSI, MACD, Bollinger Bands, and mean-reversion models. When initial trades move into a loss, the system employs an averaging recovery strategy with lot mul

MT4 Trading robot Multi-strategyMean reversionIndicator crossover High risk

EA Scalper XAUUSD

by francomascareloai
266 stars

EA Scalper XAUUSD is an automated trading research project for MetaTrader 5 focused on gold. It employs a multifaceted entry strategy using Smart Money Concepts like order blocks and liquidity sweeps, alongside moving average crossovers and Fibonacci zones. The EA includes a self-learning module designed to adapt to di

MT5 Trading robot SMC / ICT / price actionIndicator crossoverScalping High risk
Updated 4 months ago Custom licence GitHub repository of EA Scalper XAUUSD

EA31337 Libre

by EA31337
256 stars

EA31337 Libre is an open-source, multi-strategy trading robot for MetaTrader 4 and MetaTrader 5. It functions as a simplified implementation of the EA31337 framework, providing a collection of over 35 built-in strategies based on technical indicators. The expert advisor performs independent market analysis across vario

MT5 Trading robot Multi-strategyTrend followingMean reversion
Updated 2 years ago GPL-3.0 GitHub repository of EA31337 Libre

Scalpflip EA

by anthonycdp
27 stars

Scalpflip EA is an automated scalping robot for MetaTrader 5 that utilizes a multi-layered technical analysis approach. It offers three entry modes: trend-following, mean-reversion, and a smart mode that selects the strategy based on current market conditions. The system filters trades using the Relative Strength Index

MT5 Trading robot ScalpingTrend followingMean reversion
Updated 1 year ago None stated GitHub repository of Scalpflip EA

FG Scalping Pro

by FaizGusion00
11 stars

FG Scalping Pro is an automated trading system for MetaTrader 5 that utilizes a multi-indicator approach to identify entry points. It combines exponential moving average crossovers with RSI momentum and Bollinger Band volatility filters to execute trades. The EA manages risk through dynamic ATR-based stop loss and take

MT5 Trading robot ScalpingIndicator crossoverMean reversion
Updated 1 year ago Custom licence GitHub repository of FG Scalping Pro
6 stars

This high-frequency scalping robot for MetaTrader 5 is specifically designed for the gold market. It determines entry points using a combination of EMA trend filters, ADX trend strength, and dynamic RSI levels. To recover from losing positions, the EA utilizes an aggressive martingale grid system with a customizable lo

MT5 Trading robot ScalpingMartingaleGrid High risk

More gold EAs

Related on ForexR

Need a Broker for MT5?

Compare regulated brokers that support MT5, with spreads, minimum deposits and leverage side by side.

Compare MT5 brokers