Forex Ema Risk Bot features four mutually exclusive trading modes: Donchian breakout, EMA trend pullback, session breakout, and Bollinger Bands mean reversion. Trades are entered based on multi-timeframe confirmation rules and exit via ATR-based take profit, stop loss, or optional trailing stop. The EA contains advanced risk features such as daily, weekly, and monthly equity protection limits, news blackout windows, spread filters, and automatic position size reduction during drawdown streaks.
Four selectable and mutually exclusive strategy modes
Multi-timeframe trend and regime detection filters
Comprehensive equity protection limits and drawdown circuit breakers
Automatic position size reduction after consecutive losses
Read from ForexEmaRiskBot.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpGoldSymbol
string
XAUUSD
InpStrategy
ENUM_STRATEGY
STRATEGY_DONCHIAN_BREAKOUT
InpEntryTimeframe
ENUM_TIMEFRAMES
PERIOD_M15
InpTrendEmaPeriod
int
200
InpTrendSlopeLookback
int
5
InpRegimeAdxThreshold
double
20.0
InpAbnormalAtrRatio
double
2.5
InpLowLiquidityAtrRatio
double
0.4
InpFastEmaPeriod
int
20
InpSlowEmaPeriod
int
50
InpDonchianPeriod
int
20
InpAtrPeriod
int
14
Show all 40 inputs
Name
Type
Default
Description
InpRsiPeriod
int
14
InpBandsPeriod
int
20
InpBandsDeviation
double
2.0
InpMeanReversionRsi
double
30.0
InpSessionStartHour
int
8
InpSessionEndHour
int
12
InpSignalExpiryBars
int
8
InpUseTrendConfirmation
bool
true
InpUseBreakoutConfirmation
bool
true
InpUseMomentumConfirmation
bool
true
InpUseVolumeConfirmation
bool
false
InpMinimumConfirmations
int
3
InpRiskPercent
double
0.5
InpBreakoutAtrMultiplier
double
1.2
InpStopAtrMultiplier
double
1.5
InpTargetAtrMultiplier
double
3.0
InpUseTrailingStop
bool
false
InpTrailingAtrMultiplier
double
1.0
InpMaxDailyLossPercent
double
2.0
InpMaxWeeklyLossPercent
double
5.0
InpMaxMonthlyLossPercent
double
8.0
InpMaxDrawdownPercent
double
10.0
InpLossStreakThreshold
int
3
InpLossStreakRiskFactor
double
0.5
InpMaxSpreadPoints
int
100
InpMaxDeviationPoints
int
10
InpMaxEntrySlippagePoints
int
20
InpNewsBlackoutMinutes
int
15
How to Install It
1Download the sourceUse "Download source (.zip)" above, or clone Behzod-max/Robot from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
3Copy the filesCopy the .mq5 file into Experts.
4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
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.
This expert advisor for MetaTrader 5 is a multi-strategy system that utilizes market regime detection to switch between trend following, range trading, and breakout modes. It incorporates a wide array of technical indicators, including Moving Averages, RSI, MACD, Ichimoku, and SuperTrend. The bot manages risk through v
This automated trading robot for MetaTrader 5 implements Smart Money Concepts (SMC) and ICT principles using a hybrid architecture. Trading logic and signal detection are processed within a native C++ DLL, while the MQL5 bridge handles trade execution and data feeding. The system identifies market structure shifts, inc
MT5Trading robotSMC / ICT / price actionBreakoutTrend following
This MetaTrader 5 expert advisor combines Bollinger Band mean-reversion, squeeze breakouts, and EMA crossover trend following. It filters for ranging markets using a long-period EMA slope to execute reversal trades with candlestick confirmation, specifically identifying Doji patterns at the bands. Risk management inclu
This MetaTrader 5 expert advisor executes a multi-stage trading strategy focusing on H1 trendline breakouts and RSI divergences. It refines entries on the M5 timeframe using Change of Character and micro Break of Structure signals. The EA includes automated risk management with percentage-based lot sizing and ATR-based
MT5Trading robotSMC / ICT / price actionBreakoutTrend following
This MetaTrader 5 expert advisor focuses on the EURUSD pair using an adaptive market regime approach. It alternates between trend-following and mean-reversion logic based on ADX and EMA indicators. The trend strategy utilizes price breakouts or pullbacks confirmed by RSI, while the range strategy employs Bollinger Band
Gold FX EA is a multi-asset trading robot for MetaTrader 5 that functions as a modular framework for various technical strategies. It allows users to toggle specific modules for forex, gold, silver, cryptocurrencies, and commodities. Strategies include trend following with moving averages, Bollinger Band mean reversion