-
lançou isto
2026-10-25 11:23:28 +00:00 | 4 cometimentos para main desde este lançamentoProp Firm Guard - Part 4 Revised
This release contains the revised Part 4 implementation of Prop Firm Guard, extending the Part 3 financial compliance engine with holding-aware Economic Calendar monitoring.
The EA now derives supported news exposure from the account's current open positions rather than from the chart symbol. Supported Forex positions contribute their broker-defined base and profit currencies, while the implemented XAU/USD model explicitly treats positions reported with
XAUas the base currency andUSDas the profit currency as USD news exposure.Part 4 also introduces fault-aware exposure collection. Unsupported symbols can be ignored without preventing supported positions from being monitored, while unreadable position or symbol data leaves the account-level news state unavailable rather than producing a misleading safe result.
Economic Calendar processing now distinguishes retrieval failure from a successful search with no qualifying event. The search uses validated trade-server time, a dynamic forward horizon, configurable pre-news and post-news intervals, and deterministic selection of the active or upcoming event most relevant to the current holdings.
When several events qualify, active restriction windows take priority. Remaining candidates are resolved by timing, currency, and event identifier so that the account-level result remains deterministic.
Calendar access is throttled through a short-lived cache. Holding exposure can still be rebuilt on every timer cycle, while Economic Calendar requests are refreshed periodically, immediately after an exposure change, or when the selected event loses relevance. Cached countdown and restriction states continue to update between calendar requests.
The resulting Part 4 news model distinguishes:
NEWS_NO_EXPOSUREwhen no supported current holding exposure exists.NEWS_NO_EVENTwhen exposure exists and the calendar search completes successfully without a qualifying event.NEWS_UNAVAILABLEwhen required exposure or calendar information cannot be verified.NEWS_SAFEwhen a relevant event exists outside its current restriction window.NEWS_RESTRICTEDwhen the current trade-server time is inside that window.
This release remains read-only with respect to news restrictions. It does not block new trade openings, close positions, or execute configured protection actions.
The Part 3 persistence, daily-session, drawdown, and profit-target workflows remain intact, with Part 4 added as an additional account-level monitoring layer.
Descargas
-
Código fonte (ZIP)
4 descargas
-
Código fonte (TAR.GZ)
1 descarga