Prop-Firm Account Rules and a Unified Risk Guard
Summary
The document describes a MetaTrader account guard for enforcing prop-firm limits alongside an existing trading strategy. It monitors static and trailing drawdown, daily loss, profit targets, payout consistency, minimum trading days, news restrictions, and weekend exposure. Its central design is to evaluate all rules against one account snapshot and consolidate any breaches into at most one directive per pass. It can block new entries or flatten positions, while payout-related conditions are reported without closing trades.
The architecture separates snapshot creation, rule evaluation, action execution, and persistent state. It also accounts for firm-specific daily reset times and a trailing floor that stops ratcheting after a stated balance threshold. The document provides no performance study or evidence that the guard prevents every breach. Presets require checking against the relevant firm agreement, and the news check depends on the terminal calendar, which is unavailable in the Strategy Tester. An optional terminal-wide trading switch may also depend on DLL access.
Key ideas
- The guard evaluates multiple account rules from a single frozen snapshot per pass.
- It consolidates concurrent breaches into at most one directive.
- Payout consistency and minimum-day rules are reported without closing positions.
- Persistent state preserves drawdown anchors and consumed budgets after a restart.
- Firm presets and calendar availability limit how directly the guard can be relied upon.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.