RiskCompass Guard Prop Firm Risk Guard EA MT5
- Utilità
-
Phan Van Khoa
⭐ PROFESSIONAL QUANT DEVELOPER & ALGORITHMIC TRADING SYSTEMS
Welcome to my official MQL5 developer page. I specialize in institutional-grade quantitative trading systems, high-precision Expert Advisors, and statistical breakout models for MetaTrader 5. - Versione: 2.0
- Attivazioni: 10
RiskCompass Guard - prop firm risk guard EA MT5
RiskCompass Panel v2 is a risk management panel for MetaTrader 5 — a prop-firm risk tool with a daily loss cap shown in cash, a position size calculator and a news filter. Its partner RiskCompass Guard EA adds auto-flatten, new-entry blocking and weekend close, built to fit prop-firm daily-loss rules.
What RiskCompass Guard does
- Three independent daily-loss thresholds: warn (colors only), block new entries at 70% of the daily cap, and auto-flatten at 90% of the daily cap. Auto-flatten is OFF by default — enable it deliberately.
- Total loss cap on start balance — account protection across the whole equity.
- Magic-filtered close: it never touches another EA's or a human's trades. Verified two ways in tester runs: the own-magic position was closed while a foreign magic 111 position survived to end of day.
- Weekend close EA behavior with one bounded close attempt per session, plus a warning input comment if the broker session ends before the configured hour.
- GlobalVariable entry block and an on-chart status label, so the guard state is visible at a glance.
What the free RiskCompass Panel v2 partner indicator does
- Daily loss cap shown in cash, with % equity position sizing clamped to the daily budget
- Lot calculator (ATR x2.5 or fixed SL points, clamped to 90% free margin) — position size calculator, risk calculator and ATR stop loss calculator in one
- Economic calendar news filter, weekend countdown, Asian/London/NY session marker indicator
- Alerts on spread and day loss
The Panel is a display-only risk management panel for MetaTrader 5: it never opens, modifies or closes trades. Install the free MT5 utility indicator on the same chart as the Guard for a complete trading dashboard MT5 setup.
Verified build and test facts
- Compile: Panel 0 errors 0 warnings (1235 ms) · Guard 0 errors 0 warnings (890 ms)
- Smoke test: XAUUSDm M5, 2024.01.01-2024.01.31, model 0, deposit 10,000 USD, leverage 1:100 — 5770 bars / 2,221,810 ticks / History Quality 96% / Total Trades 0 (by design)
- Guard exercised on the shipped binary in 3 tester runs: auto-flatten closed exactly the own-magic position (foreign magic 111 survived); new-entry blocking triggered at 3.02% day loss; weekend close fired at the configured hour; an after-hours close was refused once with a single bounded log line
- Defect found and fixed during testing: the default weekend hour could never fire on Exness gold session times — fixed with one bounded attempt per Friday and an input comment warning
Honest status
Honest status: this is a utility bundle, not a strategy — the Panel never opens, modifies or closes trades and the Guard opens nothing. The shipped tester report (1 month XAUUSD M5, 96% history quality) shows 0 trades BY DESIGN, so profit factor, win rate and drawdown figures are undefined and none are claimed. No prop-firm certification exists or is claimed: the loss-cap logic implements the common daily + total loss shape and is not a statement about any specific firm's contract.
Limits you should know
- This is a risk guard and trade management EA, not a strategy — it has no entry logic and opens nothing.
- Auto-flatten defaults to OFF; turn it on only if you want positions closed at the 90% threshold.
- The news filter reads the MT5 economic calendar; when calendar data cannot be read it reports "clear" — missing data is not the same as no news.
- The equity high is sampled on each panel refresh, so it reads slightly longer than a tick-level tracker.
- MT5 only. Works on any symbol/chart; tested on XAUUSD — the gold risk management tool / XAUUSD risk panel use case.
Who it is for
A prop firm risk tool for traders working under a prop firm daily loss limit and prop firm rules: daily loss cap, drawdown guard MT5, drawdown protection MT5, equity protection EA, auto flatten EA, close all positions EA, weekend close EA, block new entries EA, magic filter EA — one account protection MT5 utility covering the common daily + total loss shape.
