RB Xauusd Mt5 uses a systematic approach incorporating a 50/200 EMA bias on the H1 timeframe, structural analysis on M15, and volatility filtering via ATR and ADX on the M1 timeframe. The strategy incorporates complex risk management tools, including maximum daily loss limits, trade frequency caps, and a dynamic risk scaler based on signal quality. It includes session-based trading filters and specific cooldown periods after stop-loss events. The repository is a source-only release without pre-configured settings.
Multi-timeframe analysis using H1 trend bias and M15 structure
Volatility regime detection with ATR and ADX filtering
Dynamic risk scaling based on signal quality and market conditions
Comprehensive protection including daily loss limits and trade caps
Read from RB_XAUUSD_MT5.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpAllowedSymbol
string
XAUUSD
InpEnableLiveOrders
bool
false
InpEnableTesterOrders
bool
true
InpMagicNumber
int
26060201
InpMode
int
1
session_reset_hour
int
20
cooldown_minutes_after_sl
int
15
SpreadMax_points
int
35
SlippageMax_points
int
30
risk_base_pct
double
0.007
max_daily_loss_R
double
3.0
max_trades_day
int
6
Show all 40 inputs
Name
Type
Default
Description
use_session_filter
bool
true
session1_start_hour
int
8
session1_end_hour
int
11
session2_start_hour
int
13
session2_end_hour
int
16
trade_hour_mask
string
e.g. "8,9,10,13,14"; empty uses session windows
trade_weekday_mask
string
1=Mon ... 5=Fri; empty allows all broker weekdays
weekday_risk_multipliers
string
e.g. "1:1.0,2:0.8,3:0.8"
hour_risk_multipliers
string
e.g. "8:1.0,13:0.8"
min_quality_for_trade
double
0.05
weak_quality_threshold
double
0.35
weak_quality_adx_bonus
double
5.0
weak_quality_impulse_bonus
double
0.30
weak_quality_close_pos_bonus
double
0.04
avoid_first_minutes_of_hour
int
2
cooldown_seconds_after_order_fail
int
60
allow_buy
bool
true
allow_sell
bool
true
ATR_period
int
14
ATR M1
ADX_period
int
14
ADX M1
ADX_min
double
25.0
MinATR_points
int
120
TF_bias
ENUM_TIMEFRAMES
PERIOD_H1
EMA_bias_fast
int
50
EMA_bias_slow
int
200
TF_structure
ENUM_TIMEFRAMES
PERIOD_M15
structure_lookback
int
14
impulse_mult
double
2.2
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone RicardoBarato/xauusd-mt5-expert-advisor 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.
Nyao Scalper is an automated scalping robot for MetaTrader 5 that utilizes a multi-factor weighted scoring system to identify trade opportunities. It evaluates trend alignment through EMA crossovers, momentum via RSI, and price action through wick rejection and candle body analysis. The EA manages risk with adaptive AT
This MetaTrader 5 expert advisor specializes in trading Gold (XAUUSD) by targeting volatility during the New York session. It utilizes an Average True Range (ATR) indicator to identify market trends and determine entry levels for limit orders. Risk management includes fixed stop loss parameters and dynamic trailing sto
Black XAU is an automated trading robot for MetaTrader 5, specifically designed for gold. It utilizes a multi-timeframe breakout and retest strategy, identifying trading zones based on initial H4 market structure. Entries are triggered on the M5 timeframe when price retests a confirmed breakout level. The expert adviso
This MetaTrader 5 expert advisor implements a box breakout strategy designed for the foreign exchange market. The robot identifies price ranges during specific time windows and enters trades upon a breakout. It features a trend filter using fast and slow moving averages to align entries with broader market direction. R
Binario is a breakout expert advisor for MetaTrader 4 and 5 that utilizes a price channel constructed from two moving averages of the same period. By default, it uses a 144-period exponential moving average applied to both highs and lows. It enters trades when the price moves outside this band by a predefined pip dista
Prop Firm EA Fleet is a collection of MetaTrader 5 robots designed for passing prop firm evaluations and managing funded accounts. The suite utilizes various strategies including market structure analysis, session range breakouts for London and New York sessions, and high-frequency scalping. It features strict risk man