Open Risk Budget Cap
- Утилиты
- Версия: 1.0
- Активации: 10
Open Risk Budget Cap enforces a total open stop-loss risk budget across your account. It does not choose direction and does not open discretionary trades on a live chart. Attach it to one chart; the symbol and timeframe do not matter.
What it measures
Every open position and every pending order is priced to its stop-loss in account currency using OrderCalcProfit. Positions or orders without a stop-loss are counted and shown on the panel as "without stop-loss". They are excluded from the budget sum, so a missing stop is never treated as zero risk.
Correlation groups count as one
You can define up to eight comma-separated symbol lists (broker suffixes such as m or .pro are stripped for matching). Same-direction members of a group contribute as one risk: by default the largest member risk (conservative). Opposite-direction hedges inside a group reduce that group's contribution. Symbols outside every list are each their own group. Defaults cover a USD-quote basket, a USD-base basket, and metals.
Budget and soft warn
Set a budget as a percent of equity (default 1.0 percent) or as fixed money. A soft warning triggers when used risk reaches a fraction of the budget (default 80 percent).
Over-budget enforcement
When used risk exceeds the budget, the utility can: alert; delete the newest excess pending orders; and/or close the newest excess market positions until the account is back under budget. Close and delete actions wait while the symbol's market is closed. Alerts are sent once when the state changes (within budget, near limit, over budget), not on every tick. Actions never increase exposure. An optional lock refuses further tester-demo entries and can reactively close brand-new tickets while locked.
Scope
Manage all magics, a magic list, an exclude list, or manual trades only (magic 0). Hedging and netting accounts are both supported; netting is treated as one position per symbol.
Optional account locks
Daily loss and maximum drawdown locks via a shared safety engine are available but OFF by default, so this product stays focused on open stop-loss budget enforcement rather than prop-firm style kill-switches. No firm presets or branding.
Strategy Tester
A tester-only demo mode (on by default) opens a few small risk-sized trades so you can see the panel, budget math, and enforcement path. Demo entries are placed only while the symbol's trading session is open and after a margin pre-check. It has no effect on a live chart. Demo trades are random and do not show expected performance.
Notes
Distinct from read-only correlated-risk monitors: this tool enforces a budget. No DLL, no internet connection, no grid, no martingale, no averaging, no profit guarantees. Trading involves substantial risk of loss. Gaps and slippage can exceed the amounts shown on the panel. Test on a demo account first.
Inputs (grouped)
Budget: percent or fixed money, soft-warn percent.
Correlation groups: up to eight CSV lists, same-direction max or sum mode.
Unbounded: warn / close / optional assign-ATR stop.
Actions: alert, delete newest pendings, close newest markets, optional lock.
Scope: all / magic list / exclude / manual only; own magic number.
Optional locks: enable daily loss and max drawdown (off by default).
Panel / tester: show panel, alerts, single-instance lease, tester demo settings, log level.
