Repository navigation
Changelog
This page records versioned source revisions. A changelog entry is not, by itself, evidence of a production release; use the Release Checklist for the required validation and publication evidence.
No input changed and no scoring weight changed. The historical reports can say more, and one silent data loss is fixed.
The chart symbol no longer disappears from a historical run
The symbol most likely to be evaluated is the one on the chart, and it was the one the historical
modes could not read. The cause, established by measurement rather than inference: MetaTrader builds
the M1 series for the chart symbol only when the chart itself is on M1. On any other timeframe
CopyRates returns ERR_HISTORY_NOT_FOUND (4401) for that symbol alone, while every other symbol
downloads on demand. The report said Symbols 1/2, which reads as missing data.
- The self-test gate now runs the historical modes on an M1 chart (
FXNEWS_CHART_SYMBOLmoves the chart off the evaluated list entirely, which a long window needs because the chart symbol's series holds only what the chart loaded). - The indicator now warns before a long run when the chart symbol is in
SymbolsToScanand the chart is not M1, and its skip message names the remedy instead of suggesting a history download that does not help.
Opening a temporary M1 chart at runtime was implemented, tested and removed: it does not produce the series. The limitation is in the terminal, so the honest contribution is to say so early.
The report now compares each bucket against break-even
Average R cannot answer whether a bucket was ever profitable, because a bucket can rank badly on average and still be the only one above the hit rate its own geometry needs. Each bucket now carries its 30-minute target and stop rates, the section prints the break-even rate for the configured target/stop, and it states plainly whether any populated bucket clears it.
What the evaluation found, stated as a disclosure
Measured across 7 majors and 8 years (2018–2026), 20 665 917 M1 bars, 25 074 boundaries, 2 714 signals: no populated bucket reaches the 41.2% break-even rate, and the ranking verdict is not stable — it read NOT SUPPORTED on 48.8 and 730 days, SUPPORTED on 2900 days with 6 symbols, and NOT SUPPORTED on the same window with the seventh symbol added. The instability is the well-evidenced part; no single run should be quoted as the answer. No bucket has ever reached break-even on any window or symbol count.
Also
-
MAX_HISTORICAL_LOOKBACK_DAYSraised from 365 to 3650. The whole-window M1 load was suspected of being the real bound and was measured instead: ~3 million bars per symbol in one call is fine. - The gate script exposes
FXNEWS_HISTORICAL_SYMBOLS,FXNEWS_HISTORICAL_LOOKBACK_DAYS,FXNEWS_CHART_SYMBOLandFXNEWS_SELFTEST_TIMEOUT. Note the harness forwards only its first three inputs, so a lookback override does not reach the indicator and the run silently uses the default — stated in the script so it is not mistaken for a working override. - A terminal with
MaxBars(Options → Charts → max bars in chart) set low silently truncates every historical window; 50 000 returned 48.8 days whatever was requested.
Cut as release v3.300 — FXNews.mq5, FXNews.ex5 and FXNews-3.300.sha256 attached. The notes name the checks that back each change and the checks that did not run.
Follow-up to 3.1, covering the two items that release left explicitly open. No input changed and no scoring weight changed; the difference is in what the historical reports can tell you.
The ranking evaluation can now say why the ranking failed
3.1 made the historical reports disclose whether the score ranked outcomes on the sample. It could not say why, which is the actionable half. The samples are now bucketed twice from one recording — on the displayed score and on the score before any cap applied — with the number of capped samples reported per bucket, and the report states what the two bucketings' agreement or disagreement means.
The measured answer, on the audit's samples
| run | displayed score | score before the caps |
|---|---|---|
| validation (2 589 boundaries, 605 signals) | 80+ −0.082 R vs 60+ −0.068 R | 85+ −0.141 R vs 60+ −0.068 R |
| autotune (2 584 boundaries) | 80+ −0.229 R vs 60+ −0.004 R | 85+ −0.256 R vs 60+ −0.004 R |
Both bucketings fail in the same direction, so on these samples the score did not rank 30-minute outcomes and the cap ladder is not the cause. The report states this in those terms rather than leaving you to infer it.
The cap incidence is informative in its own right: of 605 signals, 198 have a pre-cap score in the 85+ band and every one of them was capped down — none survive into the 85+ displayed bucket — and 150 of the 164 samples in the 80−84 displayed bucket are capped samples. The bands a reader would read as strongest are populated largely by penalised events.
What this does not establish. The score is documented as an event-quality ranking, not a probability or a trade instruction, and nothing here tests event quality — only whether it ranks forward return. The measured claim is narrow: on one symbol over 48.8 days the score did not rank 30-minute outcomes, and the caps are not why. Whether the score should rank returns, and whether a longer or multi-symbol sample would show an edge this one cannot, remain open questions for a human. No weights were changed, because tuning them against the sample that exposed the failure would be curve-fitting rather than measurement.
Dashboard coverage
The active-signal rows branch (ShowActiveSignalRows) had no behavioural test because it needs a
running scan. Its two decisions are now pure functions and are tested: which profiles are selected
(EligibleForActiveSignalRow — active, direction set, above the display floor, and a group leader
when only leaders are shown) and how they are ordered and bounded (SortDashboardSignalsTopN —
descending sort score, ties broken on profile index so the rank cannot swap between scans, and a row
budget clamped at zero so a misconfigured budget ranks nothing rather than everything).
The row text and tooltip builders still read profile globals and are exercised only by rendering; that is stated here rather than implied.
Self-test total: 117 → 218 assertions.
Pre-production audit of the indicator and its tooling, 57 tracked tasks, merged as PR
#10 after Phase E passed from a fresh clone on a
host that did none of the development. Per-task evidence is in the
Project Tracker and in AUDIT/ledger.md in the repository.
The gate numbers at the merged revision: zero-warning compile, census 0 findings, contracts 0
violations across 9 contracts, self-test 199 assertions, 0 failed (117 at baseline), scanners
(ruff, ruff format, mypy --strict, bandit, shellcheck, shfmt, full-history gitleaks) all clean,
Python coverage 83%.
Scoring and correctness
- The composer's engine gating now requires an engine to be both enabled and measured before its reading can confirm a signal or satisfy the single-feature test. An unmeasured component's leftover value could previously suppress a cap.
- Currency strength excludes the 5-minute term from the normaliser when that movement has not been measured, basket agreement no longer counts an unmeasured peer, and the overextension cap is gated on the exhaustion penalty actually having been measured.
- Session baselines track their spread, tick-rate and tick-volume series separately; a series that could not be sampled no longer reports a z-score built from another series' samples.
- The historical boundary features carry explicit acceleration and continuation availability flags instead of implying them.
-
ComputeBreakoutStructureinitialises every output field, so it is genuinely pure. - The execution spread gate is one shared function used by both the live path and the historical modes; it previously existed twice.
-
MaxQuoteAgeSecondsandFullHoldScoreSecondsgained upper bounds. Both had only a lower bound, so a large value silently made its gate vacuous.
Reporting
- The historical reports now state whether the sample supports the score's own ranking claim. On the audit's sample it did not (every bucket average 30-minute R negative, no candidate beat CURRENT); the reports said nothing either way before. Filled buckets are compared and the outcome printed with the numbers. This is a disclosure change, not a scoring change — whether the score should rank better is an open strategy question.
- The
85+bucket row now says it is unreachable in historical mode rather than showing a bare zero, and the model-limits lines name the caps that cannot bind there. - The absolute 95 ceiling records a reason string like every other ceiling; it was the only cap that clamped silently.
Inputs
- Added
HistoricalHistoryWaitSeconds(default 60, maximum 600).CopyRatesreturns 0 while an on-demand download is in flight; the historical loader now waits, bounded by this input, instead of proceeding with no bars.
Tests and tooling
- The self-test grew from 117 to 199 assertions: input validation (every one of the 18 numeric guard blocks, each perturbed out of range), the composer's ceiling behaviour, breakout-blend arithmetic, the bar-close confirmation rule, alert rate limits and group election, the dashboard row lifecycle, the ATR definition and the ranking comparison.
-
tools/contracts.pyis new: 9 cross-file contracts covering the string contracts between the indicator, the harness and the gate scripts, which no compiler sees, plus structural invariants for defects whose behaviour is not observable from a test. - A GitHub Actions workflow runs every gate that does not need Wine; the two MetaTrader gates stay manual by necessity and the workflow says so.
-
tools/census-allow.txtnow exists (the documented path resolved to nothing before),.mailmapconsolidates five author identities, and coverage artifacts are git-ignored. -
--installreports whether the target directory existed, verifies the copied binary's length and warns about a stale.mq5beside it.
Findings disproved rather than fixed
Five reported defects were investigated and found correct: the wick penalty's absence from the breakout normaliser (adding it would cap the component at 0.86 for every candle), the hold_score = 0 branch (a real measurement, not a default), the degenerate RobustZ of zero (the exact z, because the current spread enters the ring first), the alert-group identity (deliberate; suppression is displayed as (N)), and SmoothStep's edge re-orientation (the fix for a pre-1.4 defect that scored 1.00 for moves against the signal). Each disproof is recorded in the source so it is not re-filed.
Not changed
No order placement, no file persistence, no WebRequest, no sockets, no DLL imports — verified mechanically across all history. Autotune remains advisory and never writes settings. The terminal keeping only 63 characters of a label is still the constraint every row is composed to.
Production audit of the whole indicator (120 tracked tasks, see the Project Tracker). Scoring semantics changed, one input was renamed and one added, so the major version moves.
Critical and high defects fixed
-
CalendarValueHistoryreturns a success flag; it was stored as the event count, so an enabled calendar read past an empty array. A successful empty read is now a quiet calendar; only a failed call is unavailable. Undated events are ignored. -
CopyTickswith a start time returns the oldest ticks, so bursts denser than the buffer read as stale exactly during news; the newest ticks are requested and filtered to the window. - The range box is anchored while a candidate or confirmed event is live; rebuilding it every scan absorbed the breakout bar at the next bar open and invalidated the event being tracked.
- Autotune no longer switches the instance to LIVE (which wiped its report and could start alerts); both historical modes stay parked and draw the full report on the chart.
- Run state is reset on every
OnInit, so a second SELFTEST or backtest runs after a parameter change and stale rows do not survive it. - Quote freshness uses the trade-server clock and the connection state; the tick gap keeps the last real interval, so a stalled feed no longer reads as gap-free.
- Confirmation: the age limit is
SignalTTLSeconds(plus a full bar forCONFIRM_BAR_CLOSEcandidates) instead of a hidden 300 s; a running signal is no longer re-gated on re-activation; the HYBRID hold clause needs a candidate start; reversals go through the candidate path and are judged against the age-free score. - Currency flow is scored leave-one-out so a pair cannot confirm itself; basket agreement never counts the symbol's own timeframes.
- The terminal keeps only 63 characters of a label (verified on build 6198): every row is composed to that budget, the diagnostics line spans two rows, report lines wrap, and the character width is measured from the font.
Exclude-don't-impute, applied to every component. Spread median and robust z, tick rate, tick volume, tick sample quality, the speed windows, acceleration, continuation, candle shape, M5/M15 context and both engines carry availability flags and leave the blend and the gates when unmeasured. The neutral sentinels (0.50, 0.65, -1.0, median = current spread) are gone. Blocked debug rows distinguish no_movement_data (engines cannot measure yet) from no_breakout_or_impulse; new reasons spread_only_breakout and event_expired.
Scoring. One robust baseline per 5/10/30 s speed window; M5/M15 context reads the last closed bar; the MTF reject cap uses the raw reject levels; penalties act once (as caps); acceleration is ATR-normalised; the forming bar's tick volume is projected; thresholds round like the displayed percentage; tags, reasons and caps share one engine-confirm level (0.60). The blend and cap ladder are one function, ComposeSignalScore, shared with the historical modes.
Lifecycle and alerts. Failed cooldown for abandoned candidates and for signals collapsing within 30 s; a five-second decay grace period; alert dispatch inside the terminal's limits (10 per sliding minute, 2 per scan, 30 s per profile) with bounded retries after a failed delivery; the alert text carries the score at delivery; a correlation group is bound once at activation.
Recent-signal list. New input RecentListMinScore (default 75, validated against MinDisplayConfidence). Entries render on the scan they appear, keep their last displayable score when the signal fades, and leave only through capacity eviction (oldest past its 30 s dwell first); the flicker of removal and re-insertion is gone. Row tooltips carry the reason and tags.
Startup. Broker aliases resolve at parse time (so EURUSD and EURUSD.m cannot fight over one symbol), unknown timeframe tokens reject initialisation, non-FX symbols are skipped with a message, symbols removed from Market Watch are re-selected, historical modes retry and name unavailable symbols, and the read-once input mirrors are gone. Validation: PERIOD_ lists accepted, MinHoldSecondsForHighScore at least 1, rollover hours must differ.
Historical modes. Bars aggregate by time and tolerate missing minutes; outcomes pay the spread, share one target/stop definition across candidates, and gapped horizons are counted rather than scored as zero; the minute-scale speed windows carry their own proxy threshold and are never printed as MinImpulseZForSignal; spread per boundary comes from the bar, else the window median, else the symbol's current spread, with the mix reported; HistoricalMaxSignalsPerProfile is renamed HistoricalMaxBoundariesPerProfile (default 2000) and the report prints the coverage, loaded span and profiles with data; features are computed once per boundary for every candidate; a stopped run reports ABORTED.
Performance. One M1 copy per symbol per scan, module-level rate and tick buffers, tick quality cached per quote, statistics only on new samples, shared components evaluated once per profile, score text only for rows that can be shown, alerted, recorded or debugged.
Tooling and tests. tools/census.py automates the dead-code and placeholder census; tools/selftest-macos.sh runs the self-test, a VALIDATION or an AUTOTUNE pass headlessly through the terminal; tools/build-macos.sh gained a timeout, safe temp handling and --install. The self-test grew from 72 to 117 assertions and now covers the composer, the historical engine and the recent-signal list.
Removed. Dead fields (movement_15m_pips, flow.pass, rollover_penalty, importance_score, proximity_minutes, dominant_currency_flow, pending_alert_score, the composite direction), unused parameters, unreachable branches, the constant disk_io slots and the - session placeholder.
- Bumped the source and MQL5 module metadata to version 2.3 (
#property version "2.300"). - No indicator behavior, scoring, default value or enforced bound changed in this revision. The ten-row recent-signal list and its thirty-second minimum dwell are carried by 2.2.
- Bumped the source and MQL5 module metadata to version 2.2 (
#property version "2.200"). - The recent-signal list holds 10 entries, up from 5. It fits the existing row budget, so no other setting needs changing.
-
Each row now stays on the chart for at least 30 seconds. A row survives its score
decaying back below the
75%list threshold until that minimum has elapsed.
Rows were disappearing within seconds of appearing. An active signal is re-scored every scan, and the history entry was removed the moment its score dipped under the threshold — so an 89% breakout that faded to 70% vanished immediately, before it could be read. While a row is being held its stored score stays at the last displayable value, so the list never shows a sub-threshold number.
Eviction respects the minimum too. When the buffer is full the oldest slot that has already met its dwell is dropped, rather than always dropping the tail, so a burst of new signals cannot sweep a fresh row off the chart. If every slot is still inside its dwell the tail goes anyway — capacity is a hard bound, and a burst of ten or more distinct signals inside 30 seconds will still displace the earliest of them.
- Bumped the source and MQL5 module metadata to version 2.1 (
#property version "2.100"). -
New input
ShowActiveSignalRows, defaultfalse. The dashboard now shows only the timestamped recent-signal list. Set ittrueto restore the detailed live rows.
FXNews - LIVE | 13:16:57
2026-08-13 13:16:43 - GBPCAD M5 UP 89%
2026-08-13 13:16:45 - GBPCAD M15 UP 79%
This was implemented as an input rather than by removing the active-row path, so
ShowOnlyGroupLeaders, ShowBlockedSignalsDebug and the functions behind them remain
reachable and documented instead of becoming dead code.
The effective display threshold changes with this default. Active rows used
MinDisplayConfidence (60 by default). The recent-signal list only accepts entries scoring
75 or more, so a signal between the two no longer appears anywhere on the chart. The
list also refreshes at most every 10 seconds, holds at most five entries, and is not filtered
by correlation group — one event across three timeframes occupies three of the five slots.
- Bumped the source and MQL5 module metadata to version 2.0 (
#property version "2.000"). - Added
CLAUDE.mdrecording the build gate, what a clean MQL5 compile does and does not prove, the locations a version bump touches, the product boundaries, and the exclude-don't-impute rule for unmeasured scoring components. - No indicator behavior, scoring, default value or enforced bound changed since 1.8.
2.0 marks the end of the production-readiness audit that ran from 1.4 to 1.8. What it covers, in one place:
| Area | Was | Now |
|---|---|---|
| Interface honesty |
FLOW+ and "currency basket confirms" shown when no basket was read; "no high-impact news nearby" asserted with the calendar disabled by default; five hardcoded RAW placeholders including one in every push notification |
Every claim gated on an explicit availability flag; no placeholder literals |
| Degenerate input |
RobustZ returned ±4.0 on zero dispersion, saturating the ramps that read a high z as evidence |
Returns 0.0; the component contributes nothing |
| Alerts | Rate-limited alerts discarded, and strong_alert_handled set on deliveries that never happened |
Pending state cleared only on an actual send |
| Basket strength | Normalised by whichever timeframe was listed first in TimeframesToScan
|
Normalised by a genuine per-symbol M1 ATR |
| Input ramps |
SmoothStep silently inverted when its edges were reversed |
Edges oriented; the three inputs that could reach that state are range-checked |
| Unmeasured components | Imputed with neutral constants that dragged every score toward them | Excluded from the blend and its normaliser |
| Scan cost | O(n²) symbol matching, statistics recomputed 8× per profile, dashboard rows formatted twice | Interned keys, cached per-scan statistics, partial sort over visible rows only |
| Autotune | Reloaded all M1 history nine times; could recommend settings on an insufficient sample | One load for all nine candidates; refuses to recommend below AutotuneMinSignals
|
| Dead code |
speed_60s_z, status_message, group_member_count, BLOCK_FAKEOUT, speed60 — all written and never read |
Removed or surfaced |
| Regression checks | None |
FXNEWS_MODE_SELFTEST, 74 assertions, plus a documented dead-code census |
Two limitations are recorded rather than resolved, and both predate the audit:
- Validation and Autotune run a bar-based scorer that does not reproduce the Live pipeline, so they cannot verify the Live scorer directly. See Validation and Autotune.
-
MinImpulseZForSignalwas rescaled from simulated data, not broker history. Deriving it properly still needs a VALIDATION run.
Nothing in this release establishes that the score is predictive. It is an event-quality ranking; whether higher buckets outperform lower ones on a given broker's data is an open empirical question that VALIDATION is the tool for.
- Bumped the source and MQL5 module metadata to version 1.8 (
#property version "1.800"). -
Added a self-test operating mode.
OperatingMode = FXNEWS_MODE_SELFTESTruns 74 assertions over the pure helpers and prints a pass/fail report to the Journal. It needs no market data, no symbols and no history, so it runs with the market closed. -
MinImpulseZForSignaldefault 1.25 → 1.40. Scale correction, not a retune. -
BaselineLookbackSamplesdefault 500 → 1800. The horizon is set in samples but experienced as a duration; 500 was only ~17 minutes at the default 2s scan. - The diagnostics line now reports the effective baseline horizon in minutes.
The MQL5 compiler warns only about variables that are never touched at all. An
initialised-but-unread local, a dead struct copy, a reversed score ramp, a z-score that
saturates on degenerate input and an imputed neutral constant all compile with zero warnings.
Three defects of exactly that kind shipped before 1.4. Each is now asserted directly:
SmoothStep must stay monotone when its edges are reversed, RobustZ must return zero on
zero dispersion, and median(-x) must equal -median(x) — the identity the cached speed
baseline depends on.
1.4 recentred the speed baseline on a signed distribution. That changed the scale
MinImpulseZForSignal is measured on, which silently loosened it: simulation across quiet,
normal, trending and volatile regimes puts the equivalent of the old 1.25 at about 1.40
on the current scale. The new default restores the previous selectivity. It is a scale
correction and still wants deriving from a VALIDATION run on real broker history.
The baseline horizon is BaselineLookbackSamples * ScanIntervalSeconds in seconds, because
at most one sample accrues per scan. At the old default that was ~17 minutes, which is a
recent-activity baseline rather than a session one. Raising it to 1800 gives about an hour at
a 2s scan. There is still no persistence, by design, so baselines restart with the terminal.
- Bumped the source and MQL5 module metadata to version 1.7 (
#property version "1.700"). - Components that could not be measured are now excluded from the score instead of being imputed with a neutral constant. The composite already did this correctly for the calendar; currency flow, basket agreement, tick rate and continuation did not.
Specifically: the flow weight drops to zero when UseCurrencyStrength is off or the basket
produced no reading; the basket-agreement term leaves the flow blend when no peer pairs were
available; the tick-rate term leaves the impulse blend when UseTickRateScoring is off; and
the continuation term leaves it when snapshot history is insufficient. Each blend is
renormalised over whatever was actually measured. An unmeasurable basket disagreement no
longer contributes to the conflict penalty.
Three consumers still treated the neutral placeholder as a measurement and were corrected in
the same revision: the reason summary could print positive=flow=0.62 for a basket that was
never read, the row tooltip printed FLOW 0.62 in the same situation and now prints
FLOW n/a, and the neutral constants themselves were removed once no reader remained.
The practical effect is small, because the existing cap ladder was already absorbing most of
the distortion. With the basket unavailable, mid-quality candidates score 0 to 3 points
higher, weak candidates up to 5 points lower, and strong candidates are unchanged because
flow_absent_cap at 84 binds either way. Scores are identical whenever the basket is
available. This is a model-consistency fix, not a retune.
- Bumped the source and MQL5 module metadata to version 1.6 (
#property version "1.600"). - The activity status line no longer shows the scan counters permanently. It now shows the
operating mode and a clock, and adds
| N unavailableonly when profiles failed to refresh in the latest scan. - No scoring, signal-lifecycle, default value or enforced bound changed in this revision.
The counters were not removed, only taken off a line the user cannot dismiss. The full
diagnostics string still reaches the operator through the status-row tooltip, the optional
diagnostics row (ShowDiagnosticsPanel), and the Journal (PrintDiagnosticsEveryMinute).
The failure count remains on the line itself so that an unresolved symbol cannot go
unnoticed, which would have undone the profile-status reporting added in 1.4.
- Bumped the source and MQL5 module metadata to version 1.5 (
#property version "1.500"). - No indicator behavior, scoring, default value or enforced bound changed in this revision.
- Tooling only:
tools/build-macos.shnow fails with a clear message when the source path contains a space. MetaEditor's/compile:switch silently does nothing in that case, which rules out compiling in place underMQL5/Indicators/. Compile from a space-free checkout and copy the.ex5across, or use the MetaEditor GUI.
Correctness and performance hardening from a full production-readiness audit. Every finding below was reproduced by source review and the result compiles at 0 errors, 0 warnings.
- The dashboard tag
FLOW+and the reason text "currency basket confirms" were driven by a>= 0.62test against a0.62sentinel that means no basket reading. WithUseCurrencyStrength=false, or whenever the basket had no samples for a pair's currencies, every signal claimed confirmation that was never computed.CurrencyFlowQualitynow carries an explicitavailableflag and both the tag and the reason text are gated on it. A newFLOW?tag marks the not-evaluated case. - The reason text asserted "no high-impact news nearby" whenever the calendar state
was
NEWS_NONE— including whenUseEconomicCalendarContextwasfalse, which is the default. The disabled state is now a distinctNEWS_OFFtag and the claim is gated on the calendar actually having been read. - Removed five hardcoded
"RAW"placeholder literals: an unconditional tag on every dashboard row, a fixed slot in both dashboard row formatters, the trailing token in every push notification, and the "raw chart-only score" filler in every reason string. Push notifications now end with the real tag list. The unusedCompositeSignalScorecopy built to populate the alert slot was removed with it. - Degenerate dispersion produced maximum confidence.
RobustZ()returned ±4.0 when the median absolute deviation collapsed, which saturates the tick-rate and tick-volume ramps at 1.00 — so thin, stalled or illiquid data scored highest. It now returns 0.0 and the component contributes nothing. - Rate-limited alerts were discarded rather than deferred.
DispatchPendingAlerts()cleared pending state unconditionally, so an alert blocked by the per-profile interval, the global cap, or group leadership was lost permanently, andstrong_alert_handledwas set on a delivery that never happened — preventing that signal from ever raising a strong alert again. Pending state is now cleared only on an actual send or when the signal ends. - Basket currency strength normalised wall-clock moves by the ATR of whichever
timeframe happened to be listed first in
TimeframesToScan. With a non-M1 first entry every pair strength collapsed toward zero and flow scoring silently fell back to neutral. Strength now uses a genuine per-symbol M1 ATR, and the misleading*_m1profile fields were renamed to*_trigger. -
SmoothStep()silently inverted whenedge0 > edge1, scoring 1.00 for adverse moves and 0.00 for favourable ones. It now orients its edges, and the three inputs that could reach that state are range-checked (see Enforced Input Bounds). - Merged calendar proximity treated any non-positive value as absent, discarding every already-released event and selecting the furthest past event when both currencies had one. It now compares absolute distance and uses the per-currency relevance flags.
- Session baseline readiness was written twice from pre- and post-update sample counts, so on the crossing sample the flag went true while the z-scores still held the previous scan's values; a new session bucket also inherited the previous bucket's scores. Readiness is now assigned once and the z-scores are zeroed when the baseline is not ready.
- Blocked-signal debug rows could only ever show the UP direction, because both
composites carry
raw_score0 while blocked and the selection compared them. Selection is now by which direction was actually rejected. - Speed z-scores compared a signed measurement against an unsigned baseline in both the live and historical scorers, so the score was never centred. Both baselines are now signed.
-
ImpulseQuality.speed_60s_zwas assigned from a full robust-Z computation twice per profile per scan and never read;speed60in the historical scorer was the same computation, per bar per direction per profile per candidate. Both removed; both models now use the 5/10/30 second triple that was always the live behaviour. -
SymbolProfile.status_messagecarried seven distinct failure descriptions —SymbolSelecterrors, fallback resolution failures, duplicate profiles, invalid point/digits,SymbolInfoTickerrors, invalid quotes — and was never read, so a broker symbol mismatch or a dead feed only moved the aggregatebad=counter. Each distinct message is now printed once per change and the first unresolved profile appears in the status-row tooltip. -
SymbolProfile.group_member_countwas computed by a dedicated pass over all profiles and discarded. It is now shown on the row asLEAD:EUR+(4). -
BLOCK_FAKEOUTwas declared with a display string but never assigned by any code path. Removed. - The diagnostics line reported
objects=40, the compile-time ceiling, rather than the live object count. It now reportsobjects=<live>/<max>.
- Symbol identity is interned once and first-profile-per-symbol is precomputed, removing roughly 30 million string-uppercase allocations per scan at the default 252-profile basket. The cache rebuilds only when a broker symbol is substituted.
- Snapshot rate statistics are computed once per profile per scan instead of eight
times, using the exact identity that
median(d·r) = d·median(r)with MAD invariant under the sign flip. - Median spread and robust spread z now share one sort instead of each allocating and sorting their own copy of the same ring.
- All hot-path statistics use preallocated scratch buffers.
- Dashboard rows are ranked with a partial selection sort limited to the rows that will actually be drawn, and formatted once instead of twice.
-
CompositeSignalScorecopies were removed from the alert-grouping and dashboard loops in favour of const references. - Autotune evaluates the baseline and all eight candidates against a single load of each symbol's M1 history instead of reloading it nine times, and prints per-symbol progress so a long run is observably alive.
- Historical outcome evaluation stops scanning once the horizon result is decided.
-
MAX_PROFILESraised from256to288, so the largest configuration the inputs can express (32 symbols × 9 timeframes) can no longer be rejected at startup. The default basket is 252 profiles. - New inputs
TickRateBaselinePerSec(0.18) andTickVolumeRatioScale(0.35) expose calibration constants that were previously hardcoded, with a source comment conceding that FX tick feeds differ by broker. -
CopyTicksrequests are bounded by an explicit cap rather than asking for every tick in the window. - Session, rollover and calendar context now share one clock. Calendar refresh
previously used
TimeTradeServer()while session classification usedTimeCurrent(), so a signal could be scored in one session and its calendar context resolved against another.
-
tools/build-macos.sh: a gated MetaEditor compile wrapper for the MetaQuotes Wine bundle on macOS. Exits non-zero on any error or warning.
-
A customised preset may now fail to load.
MinBasketAgreementForHighScoremust be above0.45,MinDirectionalEdgeForHighScoreabove0,M5RejectAtrbelow0.35andM15RejectAtrbelow0.30. Values outside these ranges were previously accepted and silently inverted the corresponding score ramp. All stock defaults pass. -
MinImpulseZForSignalshould be re-validated. The speed baseline is now centred, so z-scores read higher for the same market and the1.25default was derived against the previous uncentred distribution. Run Validation before and after on the same history and compare signal counts and score buckets. - Expect fewer high scores on thin data. This is the degenerate-dispersion fix landing, not a regression.
-
Dashboard row format changed. The
RAWcolumn is gone and group tags carry a member count. Check column fit at your usual chart width.
- Changed the default
ScanIntervalSecondsfrom1to2to reduce recurrent live-scan load for the default 28-symbol, 9-timeframe configuration. - Bumped the source and MQL5 module metadata to version 1.3 (
#property version "1.300").
- Bumped the source and MQL5 module metadata to version 1.2 (
#property version "1.200"). - No indicator behavior or default values changed in this revision.
- Added explicit source and MQL5 module version metadata:
// FXNews version 1.1and#property version "1.100". - Hardened confirmation, alert grouping and rate limiting, calendar pre-news handling, historical outcome accounting, and input/resource bounds.
- Made Autotune advisory-only, removed obsolete state and unused fields, and synchronized the README and Wiki with the current behavior.