RiskGuard: Professional Risk Management EA for MetaTrader
Info
The RiskGuard: Professional Risk Management EA for MetaTrader is a Expert Advisor for MetaTrader 5 that features equity drawdown protection- close positions when drawdown exceeds a threshold, either as a percentage or a dollar amount. Daily loss limit- Cap losses per trading day and automatically disable trading when the limit is reached.
Usage
This tool is typically used for automated trading on major forex pairs and gold.
Platform
This Expert Advisor works exclusively on MetaTrader 5 (both build 600+ and newer versions).
Setup
Place the downloaded file in MQL5/Experts folder via File ? Open Data Folder in MetaTrader 5.
How to Install and Use RiskGuard: Professional Risk Management EA for MetaTrader
1. Installation: Open the "File" menu, select "Open Data Folder," navigate to MQL/Experts, paste your file, and restart the terminal.
2. Activation: Drag the EA from the Navigator onto a chart, ensure "Allow live trading" is checked in the Common tab, and verify the AutoTrading button is green.
3. Optimization: Right-click your chart, choose "Expert List," click "Properties" to adjust inputs, and save your preferred setup as a set file for future use.
4. Maintenance: Regularly check the "Experts" tab in the terminal window to monitor trade logs and potential execution errors.
Frequently Asked Questions
Q: Why is my EA not opening trades? A: Check the "AutoTrading" button, ensure "Allow live trading" is enabled, and verify your broker allows automated trading on your account type.
Q: Can I run multiple EAs on one chart? A: No, each chart can only host one active EA; however, you can open multiple charts for different currency pairs to run several EAs.
Q: What does the "smiley face" icon mean? A: A smiley face in the top-right corner of the chart indicates the EA is successfully running; a frowny face means it is disabled.
What this tool does
Features Equity drawdown protection- Close positions when drawdown exceeds a threshold, either as a percentage or a dollar amount.
Typical Use Case
This Expert Advisor excels in automated trading and technical analysis on MetaTrader 5.
Compatible Platform & Setup
This Expert Advisor works on MetaTrader 5. Place the file in the MQL5/Experts folder and restart the terminal.
Description & Settings
Related: Professional Close All Positions Panel - another powerful expert for MetaTrader 5 traders.
FeaturesEquity drawdown protection
- Close positions when drawdown exceeds a threshold, either as a percentage or a dollar amount.
Also recommended: Professional Order Manager - similar expert with strong performance on MetaTrader 5.
Daily loss limit
- Cap losses per trading day and automatically disable trading when the limit is reached.
Trailing max drawdown
- Measure drawdown from peak equity, ideal for prop firm rules.
Session filter
- Block trading outside allowed hours and optionally close positions.
Spread guard
- Prevent entries during high-spread conditions.
Auto lot sizing
- Fixed lot, risk percentage of balance, or risk dollar amount per trade.
Position limits
- Maximum open positions, total lots, and orders per day.
Multi-channel alerts
- Receive alerts with a warning at a configurable percentage of the limit.
On-chart risk dashboard
- Color-coded status (safe, warning, danger).
Magic number filter
- Protect specific EAs or monitor all.
Event logging
- Log events to a file for an audit trail.
Installation
Copy ASQ_RiskGuard.mq5 to the MQL5/Experts/ folder.
Compile in MetaEditor or restart MetaTrader 5.
Attach to any chart and enable 'Allow Algo Trading'.
RiskGuard monitors all positions on the account or filters by magic number.
Configuration
Max Drawdown
- Set the maximum drawdown percentage (default: 5%). When equity drops below this threshold, positions are closed.
Daily Loss Limit
- Set the maximum loss percentage per day (default: 3%). Trading is disabled when this limit is reached.
DD Base
- Choose 'From Balance' (standard) or 'From Peak Equity' (trailing) for prop firm rules.
Close Method
- Select a close method: Close All, Close Losers Only, or Close Largest Loser.
Session Filter
- Optionally restrict trading to specific hours, e.g., 08:00–20:00.
Spread Guard
- Optionally block entries when the spread exceeds a defined threshold.
Warning Threshold
- Set a warning level at 80% of the limit to receive alerts before positions are closed.
Prop Firm Tip
- Set DD Base to 'From Peak Equity' and configure the firm's max drawdown percentage. RiskGuard tracks the high-water mark, ensuring compliance with prop firm rules.
Alert System
RiskGuard provides a comprehensive alert system:
- Popup alerts on the screen.
- Sound alerts with customizable .wav files.
- Push notifications to mobile devices.
- Early warnings at 80% of the limit.
You may also like: EX S R - excellent alternative for expert users on MetaTrader 5.
⚠ Limitations & Risk Warning
- This tool is provided for educational and testing purposes only.
- Past performance does not guarantee future results.
- Trading involves substantial risk of loss. Use on a demo account first.
- Results may vary depending on market conditions, broker, and settings.
- We recommend thorough backtesting and forward testing before using with real funds.