The Edge That Wasn't
All 81 experiments › #39

#39 — Dashboard momentum signals tab

2026-05-21 (Session 069)
Verdict: positive · ✅ positive (engineering)
Built a multi-timeframe momentum/acceleration monitoring tab: weighted momentum sum across 7 windows (S5 to 24h), per-cell acceleration badges, and DuckDB-backed history charts.

Hypothesis — what it tests

Engineering: give the operator a live multi-timeframe view of momentum, its acceleration, and currency strength, with persistent history — situational awareness rather than a tradeable hypothesis.

Description

An infrastructure build, not a strategy test. The fx-signals service was extended (213 → 364 lines) to compute, per pair and per currency, a weighted momentum sum across seven time windows (S5, M1, 5m, 15m, 1h, 4h, 24h with weights 0.05-0.25), per-window acceleration (change in momentum per poll interval), and the same for currency-strength (CSI) values. All values are appended to a DuckDB history database (signals_history.duckdb) each polling cycle. The dashboard gained a /api/signals/history endpoint, a WSum column with acceleration arrow badges on both the pair and CSI tables, and three Chart.js time-series charts (momentum / acceleration / weighted sum) with pair selector and 1h-24h range switches. One deploy fix was needed: the column name `window` is a DuckDB reserved word and was renamed to `tf`.

Key result

7 weighted windows (S5→24h); fx_signals 213→364 lines, dashboard 1562→1737 lines; /api/signals returning all new fields (200 OK, 3855 bytes)

Indicators

multi-TF momentummomentum accelerationCSI (currency strength)weighted momentum sum

Algorithms

weighted-sum aggregation across timeframesDuckDB time-series persistenceChart.js dashboard rendering

Code

Interactive version (search, filters, figures): the experiment explorer.

← #38 FIFO-Live S5 exit monitoring redesign#40 Multiscale Price Shock (MSP) propagation →
This page is one experiment from the audited record behind the book The Edge That Wasn'tget the book · about the project.