RiskGuard Pro features a voting engine that aggregates signals from indicators like RSI, MACD, and Bollinger Bands. The EA supports various lot-sizing methods, including fixed lots and percentage-based risk. It includes grid and martingale strategies with basket-level take profit and stop loss targets. Protective features include ATR-based dynamic stops, trailing stops, and daily drawdown limits. A draggable on-chart dashboard provides real-time statistics and manual trade buttons for enhanced control.
Multi-strategy entry engine with indicator voting logic
Grid and martingale modes with basket exit targets
Dynamic ATR-based stop loss and take profit calculation
Advanced risk management including daily loss limits
Interactive draggable dashboard for on-chart monitoring
Read from RiskGuardPro.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpMagic
long
20250919
Magic number
InpComment
string
RiskGuardPro
Order comment
InpSlippage
int
20
Max slippage (points)
InpScope
ENUM_RGP_SCOPE
RGP_SCOPE_EA
Which positions are managed
InpLotMode
ENUM_RGP_LOT
RGP_LOT_RISK_PCT
Lot calculation mode
InpFixedLot
double
0.01
Fixed lot
InpRiskPercent
double
1.0
Risk per trade (%)
InpRiskMoney
double
50.0
Risk per trade (money)
InpBalancePercent
double
2.0
Balance used as margin (%)
InpLotPerBlock
double
0.01
Lot per block
InpBlockSize
double
1000.0
Block size (account currency)
InpRiskBase
ENUM_RGP_BASE
RGP_BASE_BALANCE
Risk is measured on
Show all 40 inputs
Name
Type
Default
Description
InpFixedBase
double
10000.0
Fixed base amount
InpMaxLot
double
10.0
Maximum lot per trade
InpMinLotFloor
double
0.0
Minimum lot floor (0 = strict risk)
InpMaxPositions
int
5
Max open positions (0 = off)
InpMaxPerSymbol
int
2
Max positions per symbol (0 = off)
InpMaxTotalLots
double
50.0
Max total lots (0 = off)
InpMaxTotalRiskPct
double
5.0
Max combined open risk (%) (0 = off)
InpMinMarginLevel
double
200.0
Minimum margin level (%) (0 = off)
InpUseAdaptive
bool
false
Adjust risk after wins/losses
InpLossFactor
double
0.5
Risk multiplier per loss
InpWinFactor
double
1.0
Risk multiplier per win
InpAdaptSteps
int
3
Max steps applied
InpMinRiskPct
double
0.1
Lower risk bound (%)
InpMaxRiskPct
double
3.0
Upper risk bound (%)
InpResetOnWin
bool
true
Back to base risk after a win
InpSLMode
ENUM_RGP_SL
RGP_SL_ATR
Stop loss mode
InpSLPoints
double
300
Stop loss (points)
InpSLATRPeriod
int
14
ATR period
InpSLATRMult
double
2.0
ATR multiplier for SL
InpSwingBars
int
20
Bars used for the swing stop
InpSLTimeframe
ENUM_TIMEFRAMES
PERIOD_CURRENT
Timeframe for ATR / swing
InpTPMode
ENUM_RGP_TP
RGP_TP_RR
Take profit mode
InpTPPoints
double
600
Take profit (points)
InpTPATRMult
double
3.0
ATR multiplier for TP
InpRewardRatio
double
2.0
Reward : risk
InpMinSLPoints
double
50
Minimum stop distance (points)
InpMaxSLPoints
double
20000
Maximum stop distance (points)
InpForceSL
bool
true
Add a stop loss when missing
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone farhadiamirali403-lab/Expert-RiskGuardPro- 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, and any .mqh files into the Include folder the code expects.
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 4 expert advisor implements a multi-strategy framework for automated trading across various symbols. It incorporates several technical entry signals, including Ichimoku, Bollinger Bands, and ADX-filtered logic. The EA provides multiple trade management options, explicitly including martingale lot scalin
This MetaTrader 5 expert advisor utilizes a multicurrency strength system to identify trading opportunities by comparing relative currency values. It calculates strength based on a configurable lookback period, typically using H4 data, and includes triangular weighting and smoothing options. The robot manages exits usi
This MetaTrader 5 expert advisor is designed for gold trading using a combined martingale and grid approach. It uses a moving average crossover filter to determine initial entry direction. If the market moves against the position, the EA opens additional trades at fixed intervals, increasing the lot size via a multipli
AutoTrade EA is a scalping robot for MetaTrader 4 and 5 that utilizes a multi-indicator signal scoring system based on Exponential Moving Average crossovers and RSI levels. It employs an aggressive trade management strategy featuring a dynamic grid and a stepped martingale lot scaling system where position sizes increa
IchiDCA CCBSN PropFirm EA is an automated trend-following robot for MetaTrader 5, optimized for gold and forex markets. It triggers trades based on Ichimoku Cloud breaks, filtered by dual Exponential Moving Averages and MACD indicators. The strategy manages positions through a Dollar Cost Averaging system that layers u
Fibonacci ICT EA for MetaTrader 5 combines institutional price action concepts with Fibonacci retracement levels. It identifies higher timeframe trends and enters on pullbacks to specific golden zones using confirmations like Break of Structure and Fair Value Gaps. The system includes robust risk management such as per