Prop Rule Shield and Risk Panel MT5
- Utilitários
- Versão: 1.0
- Ativações: 5
Prop Rule Shield and Risk Panel MT5 combines an account-wide automated rule guardian with an interactive visual trade planner for MetaTrader 5. Designed for both manual traders and traders running external Expert Advisors who want a unified safety layer across all open symbols from a single chart.
Core Account-Wide Protection Modules:
1. Automated Daily Loss & Max-Loss Equity Kill-Switch
* Monitors live floating equity across every open symbol and external EA on the account on every tick, including swap and entry commissions.
* Enforces exact daily midnight resets in Europe/Prague (CET/CEST), America/New_York (EST/EDT), Broker Server time, or Custom UTC offset with full DST calculation.
* Payout-Safe Accounting: Automatically filters DEAL_TYPE_BALANCE deposits and withdrawals out of daily P&L so requesting a payout never triggers a false drawdown halt.
* When a shield threshold is reached, cancels pending orders, flattens open positions, and maintains a daily halt state until the next reset boundary (includes a 2-click manual reset confirmation if needed).
2. Target-Lock Auto-Close & Best-Day Consistency Clipper
* Target-Lock: Automatically flattens open exposure once evaluation profit targets (10%, 8%, 5%, or custom) are reached so sharp reversals cannot give back a completed phase.
* Best-Day Consistency Clip: Tracks your single-day profit share against the configured consistency cap (e.g., 50%) and clips open trades at a configurable percentage (default 95%) before your required total profit target inflates.
3. Native MT5 Economic Calendar & NYSE Early-Close Guard
* Reads MT5's built-in Economic Calendar directly (USD, EUR, GBP, or custom currency CSV) with zero external DLLs.
* Flattens positions and blocks new planned entries around high-impact releases (custom minutes before/after) and during NYSE 13:00 ET Early-Close holiday embargo windows (2026-2028 dates built in plus custom CSV support).
4. Interactive Visual Trade Planner (Spread-Aware Sizing + Rule Gate)
* Click PLAN BUY or PLAN SELL to place draggable Entry, SL, and TP horizontal lines right on your chart.
* Automatically switches between Market, Limit, and Stop orders as you drag the Entry line above or below current market price, displaying real-time Risk-to-Reward (R:R).
* Calculates exact position size using SYMBOL_TRADE_TICK_VALUE_LOSS, optional live spread buffer, SYMBOL_VOLUME_STEP floor normalization, SYMBOL_TRADE_STOPS_LEVEL validation, and OrderCalcMargin checks.
* Pre-Trade Buffer Gate: Prevents execution (BLOCKED) when planned risk exceeds remaining daily or overall drawdown buffers, or while a news/early-close/halt guard is active.
* Includes BE ALL POS (moves qualifying symbol positions to breakeven plus optional lock points) and 2-click CLOSE ALL emergency flattening.
5. Optional Telegram Shield Alerts (Disabled by Default)
* Sends deduplicated notifications when an automated shield triggers or when inactivity approaches your warning threshold.
* To configure: set Enable Telegram Alerts = true, enter your Bot Token and Chat ID, and add api.telegram.org inside Tools -> Options -> Expert Advisors -> Allow WebRequest. Automatically bypassed during Strategy Tester runs.
Configurable Neutral Presets:
* 1-Step Trailing: 3.0% daily limit (2.5% shield) | 10% EOD trailing (locks at start) | 10% target | 50% Best-Day cap | Default ±3m news in Funded.
* 2-Step Classic: 5.0% daily limit (4.2% shield) | 10% static max loss | 10% / 5% targets | 4 min days | Optional news in Eval / On in Funded.
* 2-Step Tight: 4.0% daily limit (3.4% shield) | 8% static (day-start ref) | 8% / 5% targets | ±6m news in Funded.
* Custom Rules: Configure every limit, mode, timezone, consistency cap, profitable-day threshold, and inactivity window manually.
Notes:
* Attach to one chart (any symbol, any timeframe); automated shields monitor the entire trading account, while the interactive visual planner sizes orders on the active chart symbol.
* Pure MQL5 code (0 external DLLs). Works across standard Forex, Metals, Indices, and Crypto CFDs subject to broker symbol specifications and margin availability.
Disclaimer: This software is an independent risk-management and order-planning utility. It does not generate trading signals or guarantee trading performance, and is not affiliated with or endorsed by any proprietary trading firm.
