Smart Risk Manager Pro Account Protection EA
- Utilità
- Ahmad Idris Yahaya
- Versione: 2.0
- Attivazioni: 5
Smart Risk Manager Pro — The Last Line of Defense Between You and a Blown Account
Stop losing accounts. Start trading with confidence.
Every trader knows the feeling. You're in a drawdown, emotions take over, you overtrade, and before you know it, you've blown your daily limit, violated your prop firm rules, or wiped out weeks of profits in a single session.
Smart Risk Manager Pro exists to make that impossible.
This is not a trading bot. It does not pick entries or manage signals. What it does is far more valuable, it silently monitors your entire MT5 account in real time and enforces your risk rules with zero emotion, zero hesitation, and zero exceptions. Think of it as a professional risk officer sitting next to you at all times, with the authority to hit the kill switch the moment your account is in danger.
Built with production-grade MQL5 using a clean object-oriented architecture across three dedicated modules, RiskManager, TradeManager, and UIManager, this EA is engineered for stability on live accounts. Every trade operation is error-checked. Every close is retried. Every threshold is configurable to your exact rules.
PROP FIRM READY / PERSONAL ACCOUNT READY
If you're trading a funded account, this EA is your best insurance policy.
Most prop firm violations don't come from bad strategies, they come from bad discipline. A few revenge trades after a losing session. Holding through a news spike. Forgetting to check your daily drawdown before opening a position. Smart Risk Manager Pro removes the human error from the equation entirely.
- Set your daily loss limit to match your firm's rules exactly (e.g. 5% for FTMO)
- Set your max drawdown to stay safely inside the trailing threshold
- The EA enforces both automatically, no manual tracking, no spreadsheets, no guessing
- Works alongside any trading strategy or other EA on the account
- Monitors all trades including manual ones, nothing slips through
FULL FEATURE BREAKDOWN
Daily Loss Limit Protection
Set a maximum daily loss as a percentage of start-of-day equity or a fixed dollar amount. The moment that threshold is hit, all open trades are closed immediately and the account is locked for the rest of the day. Trading automatically reactivates at the next broker server midnight. Optional cooldown mode lets you add a buffer period (e.g. 4 hours) before trading resumes, even after the daily reset.
Maximum Drawdown Protection (Permanent Lock)
The EA tracks your all-time peak equity and calculates real-time drawdown from that peak. If drawdown exceeds your defined threshold, all trades are closed and the EA enters a permanent lock state, trading stays disabled until you manually confirm the reset. This is intentional. A permanent lock forces a conscious decision to resume, not an accidental click.
Floating Drawdown Protection
Independent of the peak DD calculation, the EA also monitors your live floating P/L across all open positions. The moment total unrealised losses exceed your floating DD threshold (e.g. 3% of current equity), all positions are closed instantly. This catches runaway trades before they become account-ending losses.
Auto Lot Size Calculator
Built-in risk-based position sizing that calculates the correct lot size for any trade based on your risk percentage per trade and your stop loss in pips. Fully supports:
- All forex pairs
- 3-digit and 5-digit brokers (automatic pip normalisation)
- Any account currency The suggested lot is always displayed on the dashboard so you can check it before placing any order.
Max Trades Per Day
Set a hard cap on the number of trades that can be opened in a single day. Once reached, new positions are blocked and the trade count is displayed live on the dashboard. Resets automatically at midnight.
Spread Filter
Automatically prevents trading when the spread on the current symbol exceeds your defined limit in points. Protects against abnormal spread conditions during news events, market open, and low-liquidity periods.
Session Filter
Restrict trading to specific market sessions only:
- London Session (07:00–16:00 GMT)
- New York Session (13:00–22:00 GMT)
- Custom Session: define any start and end time in HH:MM server time
When the market is outside your selected sessions, the EA blocks new trade activity automatically.
Cooldown Mode
After a daily loss limit is hit, optionally enforce a cooldown period (e.g. 2 hours) before trading can resume, even if the broker midnight reset occurs. Prevents the common mistake of immediately re-entering the market after a bad session.
Live On-Chart Dashboard
A clean, dark-themed dashboard renders directly on the chart and updates in real time every second. Displays:
- Current equity and balance
- Daily loss percentage
- Floating drawdown percentage
- Peak drawdown from equity high
- Trades opened today vs daily limit
- Suggested lot size
- Spread status (OK / HIGH)
- Session status (OPEN / CLOSED)
- Risk status: ACTIVE (green) / LOCKED (red)
Colour-coded warnings turn orange when you approach 80% of any limit, giving you advance notice before a lock triggers.
Multi-Channel Alerts
When any risk rule is breached you receive:
- On-screen popup alert (configurable)
- Push notification to the MT5 mobile app (configurable)
- Detailed log entry in the Experts tab
INPUT PARAMETERS AT A GLANCE
| Parameter | Default | Description |
|---|---|---|
| Daily Loss % | 5.0% | Max daily loss from start-of-day equity |
| Daily Loss Fixed $ | $500 | Alternative fixed-dollar daily loss mode |
| Max Drawdown % | 10.0% | Permanent lock threshold from peak equity |
| Floating DD % | 3.0% | Instant close threshold on floating losses |
| Max Trades/Day | 5 | Hard cap on daily trade count |
| Risk Per Trade % | 1.0% | Used by auto lot calculator |
| Default SL Pips | 20 | Reference SL for dashboard lot suggestion |
| Max Spread Points | 30 | Spread filter threshold |
| Cooldown Hours | 0 | Hours to wait after daily loss (0 = next day) |
| Session Filter | OFF | Enable London/NY/Custom session restriction |
| Push Notifications | OFF | MT5 mobile push alerts |
| Dashboard | ON | Show/hide on-chart panel |
All parameters are accessible via the standard MT5 Inputs tab, no external config files, no DLL dependencies.
WHO IS THIS FOR?
- Prop firm traders who cannot afford a single rule violation
- Manual traders who want an automated safety net against emotional decisions
- EA traders who run multiple bots and need account-level risk control above the strategy level
- Portfolio managers running several symbols simultaneously who need consolidated risk monitoring
FREQUENTLY ASKED QUESTIONS
Does it work with manual trades?
Yes. It monitors all positions on the account regardless of how they were opened, manual, EA, or via script. Magic number is not used as a filter.
Will it interfere with my trading strategy EA?
No. It only closes trades when a threshold is breached. During normal operation it is fully passive.
Does it open any trades?
Never. This EA has no entry logic whatsoever. It is a pure monitoring and protection overlay.
Is it compatible with all brokers?
Yes. It auto-detects 3 and 5-digit brokers and handles account currency differences automatically via the broker's tick value data.
What happens on weekends or during broker disconnections?
The EA resumes checks immediately on reconnect or when the market reopens. No residual state is lost.
Can I use it on a cent account?
Yes. Lot sizing and risk calculations scale correctly for micro and cent account structures.
Smart Risk Manager Pro (engineered for traders who take risk management as seriously as their entries)
