1. Stage 1 — Unrevised First-Print Wire & Diagnostic Surprise Index (surprise_z)
Raw economic numbers cannot be compared directly across indicators: a +0.2% beat on US Core CPI MoM carries vastly different scale than a +0.2 shift on a regional sentiment index. When a release arrives on the wire, Stage 1 preserves the unrevised first-print Actual, Forecast, and Previous figures alongside simultaneous multi-release collision metadata.
Role of surprise_z (Display & Triage Diagnostic, Not the Trading Model): For cross-indicator readability in the web terminal, REST JSON, and MCP tools, the publishing layer computes a normalized diagnostic surprise index (surprise_z, capped to a ±5σ scale) so traders and agents can gauge headline magnitude at a glance. surprise_z is strictly a display and diagnostic metric—never a standalone trade trigger or the proprietary model itself.
Honest Null-Forecast Handling: Weekly indices, unscheduled central-bank remarks, and specialized surveys occasionally print without a consensus forecast (forecast = null). When no consensus exists, ForexNewsRadar explicitly omits synthetic deltas and reports Actual alongside Previous cleanly—never fabricating a fake surprise score.
2. Stage 2 — Per-Pair Gradient-Boosted (GBM) Impulse Scoring & Q-Thresholds
Not every macro surprise carries enough institutional repricing flow to clear transaction costs and post-release spread expansion. For each of the 18 monitored instruments (16 FX majors & JPY/G10 crosses plus Gold XAUUSD and Silver XAGUSD), trained Gradient-Boosted Decision Tree (GBM) tabular models evaluate multi-factor release context and cross-market price/volatility response against a calibrated per-pair Q-threshold (calibrated out-of-sample using walk-forward temporal validation).
- Above Q-Threshold (Clean Microstructure): Outputs a calibrated directional impulse verdict (
BUY BIASorSELL BIAS) with 4 strength tiers (weak,normal,strong,extreme) and transparent diagnostic distance above threshold (for example,Quant Model SELL · STRONG impulse (+12.6% above Q-threshold)). - Below Q-Threshold: Explicitly resolves to
NEUTRAL / Stand Aside(for example,Stand Aside (-2.8% vs threshold)) so traders and bots stay flat on low-conviction prints instead of overtrading noise. - Conflicting Print or Elevated Volatility Risk: Protective
VETOgates override any directional score immediately.
3. Execution Timing Physics: Post-Announcement Macro Drift vs. 5ms HFT Spikes
A common misconception among algorithmic developers evaluating news telemetry is assuming a macro model tries to beat colocation HFT desks in the first 5 milliseconds after a print. That race is unwinnable for retail and independent ECN infrastructure—and chasing second-zero market orders into a widened spread is mathematically negative expectancy.
- 0s to ~15–30s (Intentional Stabilization Window): Liquidity providers pull resting quotes and spreads expand 3x–10x on Gold and FX majors immediately at second zero. ForexNewsRadar deliberately waits through a short ~15–30 second post-print stabilization window to bypass the initial HFT liquidity vacuum and measure confirmed price/volatility response before pushing the signed verdict to Cloudflare Edge.
- T+1m to T+60m+ (Post-Announcement Macro Drift Window): When a Tier-1 release clears a pair's calibrated
Q-thresholdcleanly, institutional desks and macro allocators reprice spot FX and bullion over the subsequent 15 to 60+ minutes after spreads normalize. Directional verdicts track elapsed decay viasignal_age_secand automatically transition toSETTLEDonce the active impulse window expires (up to 4 hours max). - Edge Delivery Speed vs. Client Polling Cadence: Once pushed from the quantitative server via signed HMAC webhook, Cloudflare Edge distributes updated JSON immediately across global PoPs at up to
240 req/min(4 requests/sec) on authenticated API/MCP keys. The 15-second timer in the browser dashboard and defaultPropShield.mq5(EventSetTimer(15)) is strictly a lightweight default client polling cadence to conserve terminal bandwidth.
4. The 4 Automated VETO Microstructure Shields & Prop-Firm Windows
Static calendar scrapers only know the wall-clock timestamp of a scheduled event. ForexNewsRadar evaluates live post-release risk conditions and distinguishes raw directional safety (safe_to_trade) from strict funded prop-firm compliance (prop_safe_to_trade):
| State / Shield | Trigger Condition | safe_to_trade | prop_safe_to_trade | Primary Use Case |
|---|---|---|---|---|
| PRE_NEWS | Scheduled Tier-1 release within T-5m floor (300s) |
false | false | Block new entries & clear pending .ex5 traps before FTMO / FundingPips / The5ers windows |
| 5m Post-Release Prop Lock | First 300s after Tier-1 print on clean directional impulse | true | false | Allows direct news-momentum traders while protecting funded prop accounts from post-print breach |
| VETO · Whipsaw | High-impact print without directional conviction clearing pair thresholds or elevated two-way volatility risk | false | false | Prevents both-side stop hunts on Gold (XAU/USD) and G10 majors |
| VETO · Collision | Simultaneous opposing prints (e.g. US NFP + Canada Jobs at 13:30 UTC) | false | false | Halts non-directional whipsaw on USD/CAD and USD crosses |
| VETO · Foreign Noise | High-impact shock on an unrelated leg spilling across minor crosses | false | false | Protects EUR/CHF, EUR/AUD, GBP/AUD, and JPY crosses during USD-only shocks |
| VETO · Toxic Window | Central bank press conferences (FOMC / ECB / BoJ), vulnerable session windows, thin daily rollover, or the final hour before Friday market close | false | false | Blocks second-wave headline reversals, thin-liquidity spread spikes, and pre-weekend close traps |
Compare exact firm-by-firm restricted window durations, pending-order triggers, and exceptions in our living 2026 Prop-Firm News Trading Rules Matrix.
5. Fail-Closed Engineering Invariants (MT5, REST & MCP)
A news filter that fails open during a VPS network hiccup or broker calendar outage is worse than having no filter at all. ForexNewsRadar enforces five deterministic engineering invariants end-to-end:
- UTC Clock Freshness (
TimeGMT()): BothForexNewsRadar_PropShield.mq5andForexNewsRadar.mqhuseTimeGMT()instead of broker tick-dependentTimeCurrent(), eliminating DST timezone bugs and weekend freeze glitches. - 45-Second RAM Heartbeat Lease: Child EAs reading shared MT5 GlobalVariables (
FNR_PROP_SAFE_<SYM>) validateFNR_HEARTBEAT_TSfreshness within 45 seconds and fall back safely if the supervisor chart is closed or offline. - 30-Minute Upstream Staleness Cutoff: If the trading engine heartbeat exceeds 1,800 seconds without a signed HMAC update,
radar_health.staleflips totrueand bothsafe_to_tradeandprop_safe_to_tradeforce tofalse. - Zero-DLL Native MQL5 + Hyperactivity Guard:
PropShield.mq5uses nativeWebRequest()andCTrade::OrderDelete()with zero Win32 DLL imports and a built-inInpMaxDeletesPerMin = 8circuit breaker to protect prop accounts from broker server-hyperactivity bans. - Server-Side Broker Symbol Normalization: Prefixes, suffixes, delimiters, and spoken aliases (
XAUUSD.pro,XAUUSDm,iEURUSD,mGBPUSD,EUR/USD,GOLD,SILVER) resolve canonically at Cloudflare Edge.
6. Open Per-Pair Closed ECN Fill Audit & Non-Advisory Boundary
Rather than publishing marketing summary badges without third-party brokerage verification, ForexNewsRadar logs individual closed fills per instrument (showing winning TP exits, losing SL stop-outs, and TIME_EXIT horizon closes alongside exact timestamps and realized pips):
- Wins (TP), Losses (SL) & Time Exits (TIME_EXIT) Published: Every logged fill records exact entry price, exit price, realized pips, and close reason (
TP,SL, orTIME_EXITfor time-horizon or pre-Friday market closes). Losing trades are never omitted or scrubbed. - Zero Live Open-Position Leakage: Active open positions are strictly stripped at the API and MCP boundary (
open_positions: []) so the feed functions purely as impersonal market telemetry rather than a trade copier. - Strict 36-Hour Archive Isolation on Locked Pairs: Public non-authenticated pages for paid instruments (
#2..#18) only render historical releases aged>= 36 hours, whileEUR/USDremains 100% real-time and free forever so anyone can audit live latency before paying$9(Single Pair) or$29(All 18 Pairs, zero auto-renewal). - Impersonal Software Telemetry Only: ForexNewsRadar is an automated quantitative software publisher—not an investment adviser, CTA, broker, fund manager, or fiduciary. We never accept, hold, or manage client trading capital. Read the full Terms of Service, API License & Risk Disclosure.
Methodology & Verification FAQ
Why does ForexNewsRadar preserve unrevised first-print Actual values?
Market repricing during US CPI, Non-Farm Payrolls, or FOMC occurs against the exact first-print wire number released at second zero—not the revised headline published a month later. Preserving unrevised first-print Actual, Forecast, and Previous values keeps historical records and surprise_z diagnostics faithful to live release conditions.
Why does ForexNewsRadar wait ~15–30 seconds after a print instead of chasing 5ms HFT spikes?
During the first few seconds after a Tier-1 print, liquidity providers widen spreads 3x to 10x and colocation HFT desks dominate raw tick latency. Attempting market entries on second zero produces toxic slippage. Our quantitative pipeline intentionally waits through a brief ~15–30 second post-print stabilization window to let initial order-book dislocation settle and evaluate confirmed price/volatility response, then pushes the signed verdict immediately to Cloudflare Edge for the 15 to 60+ minute Post-Announcement Macro Drift horizon.
How is the ~15–30s stabilization window different from the API rate limit and MT5 polling interval?
Once the quantitative server completes its ~15–30 second post-print evaluation and pushes a signed HMAC update, Cloudflare Edge serves the verdict globally at up to 240 requests per minute (4 req/sec) for automated bots and MCP clients. The 15-second refresh timer in the web dashboard and PropShield.mq5 EventSetTimer(15) is simply a lightweight default client polling cadence to conserve terminal bandwidth.
What is surprise_z in the API payload—is it the trading model itself?
No. surprise_z is a normalized diagnostic surprise index (capped to a ±5σ scale for cross-indicator readability across disparate macro units) provided for display and quick triage. Directional BUY/SELL verdicts and Q-threshold diagnostics are generated by per-pair Gradient-Boosted Decision Tree (GBM) models evaluating multi-factor release context and cross-market price/volatility response.
What happens when a macroeconomic release has no consensus Forecast (forecast = null)?
ForexNewsRadar never fabricates a synthetic consensus or prints misleading deltas against a blank forecast. Releases with forecast = null display Actual and Previous cleanly and omit any artificial surprise_z score.
How is safe_to_trade different from prop_safe_to_trade?
safe_to_trade measures raw execution microstructure (true when no PRE_NEWS, Whipsaw, Collision, Foreign Noise, Toxic Window VETO, or stale heartbeat is active). prop_safe_to_trade adds strict funded-account protection, holding false from T-5m before the scheduled release through at least 5 minutes post-release even on clean directional impulses.
Are losing stop-outs and time-based exits included in the per-pair closed ECN fill log?
Yes. Every logged closed fill per instrument—including Take-Profit (TP), Stop-Loss (SL), and Time-Horizon (TIME_EXIT) exits—is published openly with exact timestamps and realized pips. Live open positions are strictly masked (open_positions = []) so the feed stays purely impersonal software telemetry.