The system executes trades based on a triple-confluence strategy that integrates an exponential moving average ribbon for trend direction, Donchian Channel breakouts with volume confirmation, and a proxy-CVD indicator for order-flow analysis. Risk is managed through fixed dollar-based sizing per trade and a maximum daily loss limit. It features volatility-adjusted stop losses using ATR, reward-to-risk based take profits, and partial closing at break-even. The repository lacks a README file, with instructions contained in the code header.
Read from XAu confluence.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
RiskDollars
double
50.0
Risk per trade in dollars
MaxDailyLossDollars
double
200.0
Max daily loss in dollars before bot stops for the day
DailyLossType
ENUM_DAILY_LOSS_TYPE
DAILY_LOSS_GROSS
Daily loss calculation: Gross or Net
RR2
double
1.5
Take-profit as a multiple of risk (R)
BEatRR
double
1.0
Break-even trigger: RR multiple price must reach (0 = disabled)
PartialClosePct
double
50.0
% of position to close when break-even triggers (0 = no partial close)
MaxSLPips
double
500.0
Skip trade if SL distance exceeds this many pips
ATRperiod
int
14
ATR lookback (volatility) for the stop
ATRmultSL
double
1.2
Stop distance = this x ATR (lower = tighter)
EMAfast
int
21
Fast EMA period
EMAslow
int
50
Slow EMA period
UseSlope
bool
true
Also require the fast EMA to be moving our way
Show all 27 inputs
Name
Type
Default
Description
BreakLookback
int
20
Bars used for the breakout high/low level
UseVolFilter
bool
true
Require the breakout bar to have above-average volume
VolAvgPeriod
int
20
Bars used for the volume average
VolMult
double
1.2
Breakout volume must exceed average x this
UseCVD
bool
true
Require order-flow (proxy-CVD) to agree with direction
CVDlookback
int
14
Bars summed for the proxy-CVD window
CVDrising
bool
true
Also require CVD to be building (not just the right sign)
MaxOpenTrades
int
1
max running trades on this symbol
CloseOnDirectionFlip
bool
true
Close opposite-direction trades before opening a new one
MaxTradeDurationHours
double
10.0
Close profitable trades open >= this many hours (0 = disabled)
BlockIST_3to5
bool
true
block trading from 03:00-05:00 IST (toggle)
BlockUSDNews
bool
true
block trading around USD news times (toggle)
USDNewsTimes
string
Paste USD news datetimes in SERVER TIME, separated by semicolons
MaxSpreadPoints
int
50
Skip new entries when spread exceeds this many points (0 = disabled)
EnableLogging
bool
true
Log closed trades to Experts tab + CSV file
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone sapsyhere01-max/XAU-Ea-Mt5 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 MetaTrader 5 expert advisor executes trades based on the Ichimoku Kinko Hyo system, specifically targeting cloud breakouts. It incorporates several technical filters including Average True Range for volatility and Average Directional Index for trend strength to refine entries. Risk management is handled through pe
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 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
This collection of Expert Advisors for MetaTrader 5 provides high-frequency scalping and multi-strategy automated trading across multiple currency pairs. The robots utilize a signal scoring system based on moving average crossovers, RSI momentum, Bollinger Band breakouts, and MACD signals. The suite includes a dedicate
This automated expert advisor for MetaTrader 5 is specifically designed for the GBPJPY currency pair. It utilizes a breakout strategy based on psychological key price levels, which are adjustable in the settings. The bot filters entries using two Simple Moving Averages and the Average Directional Index to confirm trend
This MetaTrader 5 expert advisor executes a trend-following strategy based on Donchian Channel breakouts and MACD filters across multiple timeframes. It utilizes a higher timeframe for trend direction while identifying entry opportunities on lower timeframes. The robot includes a trend memory mode designed to manage en