PropGuard MT5 implements three primary risk guards: an equity-anchored daily loss limit that resets at midnight, a static overall maximum loss halt based on starting balance, and a news filter that blocks new entries around high-impact economic events. While it includes a basic moving average crossover strategy for demonstration purposes, its main function is to monitor drawdown and news windows to prevent rule breaches. It features automated position flattening and trade blocking when limits are reached.
Daily equity-anchored drawdown guard
Static overall maximum loss halt
News-window entry filter using MT5 calendar
Detailed logging for all risk management decisions
Read from PropGuard.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpFastMA
int
20
Fast MA period
InpSlowMA
int
50
Slow MA period
InpLots
double
0.10
Fixed lot size (demo)
InpStopLossPts
int
300
Stop loss (points)
InpTakeProfitPts
int
600
Take profit (points)
InpUseDailyGuard
bool
true
Enable daily-loss guard
InpDailyLossPct
double
4.0
Max daily loss (% of day-start equity)
InpUseMaxGuard
bool
true
Enable static max-loss halt
InpMaxLossPct
double
9.0
Max overall loss (% of start balance)
InpUseNewsGuard
bool
true
Enable news-window guard
InpNewsMinsBefore
int
2
Block this many minutes BEFORE an event
InpNewsMinsAfter
int
2
Block this many minutes AFTER an event
Show all 14 inputs
Name
Type
Default
Description
InpMinImportance
ENUM_CALENDAR_EVENT_IMPORTANCE
CALENDAR_IMPORTANCE_HIGH
Min event importance to block
InpMagic
long
70010
Magic number
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone dmck24/propguard-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.
Moises Risk Manager is a risk management framework and expert advisor for MetaTrader 5. It offers automated lot sizing through fixed volumes, balance or equity percentage risk, and the Paroli positive progression system. The tool includes a persistence engine that saves trade states to global variables and CSV files, e
Account Protector is a risk management expert advisor for MetaTrader 4 and 5 designed to monitor account health and prevent excessive drawdowns. It allows users to set specific triggers based on floating profit or loss, equity levels, free margin, spread, or daily performance. When these conditions are met, the EA auto
This expert advisor provides automated schedule management for the MetaTrader 4 and MetaTrader 5 platforms. It allows users to define specific time windows for each day of the week to toggle the platform's global AutoTrading status. Beyond simple scheduling, the utility can close active positions and delete pending ord
ICCapitals Secure is a risk management utility for MetaTrader 5. It acts as a supervisor to monitor and enforce trading parameters across an account. The expert advisor calculates position sizing based on a user-defined risk percentage per trade and manages risk-to-reward ratios. It features a timer-driven function to
Equity Protector is an account management utility for MetaTrader 5 designed to safeguard capital against significant drawdowns. It operates by monitoring account equity and balance at a user-defined frequency, such as every second. When the floating loss reaches a specified percentage or limit, the utility automaticall
Mask Protected Trading Panel is a manual execution utility for MetaTrader 5 designed to enforce discipline and strict risk management. It acts as a protective layer, blocking manual orders that violate pre-set rules such as maximum daily trades, drawdown limits, or minimum reward-to-risk ratios. The tool includes a man