forked from SeekndStroy/PropGuardMT5
2.8 KiB
2.8 KiB
PropGuard MT5
PropGuard MT5 is a MetaTrader 5 risk-control Expert Advisor for prop firm traders. It helps monitor daily loss, overall drawdown, trade count, lot exposure, and rule breaches from one chart.
It does not promise profit. It is built to help traders avoid breaking funded-account rules.
MVP Features
- Daily loss lock with selectable base:
- Start-of-day balance
- Start-of-day equity
- Intraday high equity
- Reset by broker midnight or custom broker-server time
- Daily profit target lock
- Overall drawdown lock
- Max trades per day
- Max lots per day
- Account-wide, current-symbol, or symbol-list scope for trade actions
- Optional handling of trades opened after lock
- Close All chart button
- On-chart dashboard with server time, next reset, base mode, P/L, limits, and lock reason
- Journal logs for breach events and forced closes
Suggested Market Positioning
PropGuard MT5: funded-account rule protection for disciplined traders.
Pain points:
- Daily drawdown violations
- Overtrading
- Emotional revenge trades
- Forgetting account rules during fast sessions
- Manual traders needing a visual risk dashboard
Screenshots
Normal Dashboard
Locked State
Inputs
Install
- Copy
MQL5/Experts/PropGuardMT5/PropGuardMT5.mq5into your terminalMQL5/Experts/PropGuardMT5/folder. - Open MetaEditor.
- Compile
PropGuardMT5.mq5. - Attach the EA to one chart.
- Enable Algo Trading.
- Configure limits in broker-server time.
For exact daily baseline capture, attach the EA before the prop firm's daily reset time.
Important Notes
- MT5 EAs cannot act as a true global pre-trade firewall for every manual or external trade source.
- PropGuard can monitor account state and optionally close positions opened after a lock.
- Default behavior is conservative: lock and alert, not forced liquidation.
- Rules differ between prop firms. Validate settings against your firm's official rulebook.
MVP Defaults
- Daily loss base: start-of-day equity
- Reset mode: broker midnight
- Daily breach action: block new trades and alert
- Locked trade action: alert only
- Scope: account-wide
Repository Layout
MQL5/
Experts/
PropGuardMT5/
PropGuardMT5.mq5
docs/
product-spec.md
market-listing-draft.md
screenshots/
.gitkeep
Roadmap
- Screenshot-ready dashboard objects
- CSV rule-violation export
- Per-prop-firm presets
- Telegram/webhook alerts
- MT4 version
- Free Lite and paid Pro split
Disclaimer
Trading involves risk. This project is a risk-management utility, not investment advice, not a trading signal, and not a guarantee of funded-account success.


