Advisory supply/demand scalping desk — multi-feed chart, conf≥70 setup log, Agent lab, Grok 4.5 learn.
HowChart: full history · 1m default · adaptive live poll · multi-TF S/R.
You seeNav: Chart · Trades · Agent · Learn · Systems · Zones · Exness · Settings
Who uses the desk and who runs the infra.
HowSean is the primary gated desk user (allowlist email).
You seeEmail badge in top bar · login page when not bypassed
Every request passes a gate before desk pages load.
HowNext.js middleware runs first on almost every path.
You see/login · redirects · allowlist errors
Cockpit: market, candles, layers, and the entry/exit plan.
HowCommand bar: symbol price · TF chips · Tick / Reload · Full screen (F).
You seeSticky command bar · slim tool row · chart · plan panel
Server step that glues market data to the model engine.
HowRoute: GET /api/chart?symbol=&interval= (force-dynamic, no-store).
You seeNetwork tab JSON · Refresh · live/delayed/stale badge
Market router (Exness → Binance → Yahoo)
Live multi-source prices so zones sit on real candles.
HowPriority: Exness MT5/MetaApi (if configured) → Binance USDT → Yahoo.
You seeFeed pills · Chart ← provider · data status badge
Optional real Exness prices via MT5 bridge or MetaApi.
HowNo free public Exness REST — needs EXNESS_BRIDGE_URL or MetaApi token.
You see/exness · Exness pill off/live · feed.ok in debug
Rule-based detection of zones, bias, score, and trade plan.
HowComputes ATR, swing highs/lows, and window bias.
You seeZone bands · Fib lines · plan numbers · thesis bullets
Price bands where buyers or sellers previously showed force.
HowDemand: long lower wick + push up → green band.
You seeGreen/red chart bands · Zones page cards · Active zone panel
L2 · Decision output
E/S/TPEntry & exit plan
E / S / TP prices — same numbers on chart and Trades log.
HowEntry at active zone edge (no chase if price already blasted through).
You seePlan banner · gold ENTRY · red SL · green TP · side panel table
L1 · Presentation
zoom-safeChart canvas
Lightweight Charts: candles, zones, plan lines — zoom preserved live.
HowFull OHLCV history · default viewport recent bars (scroll for history).
You seeCenter canvas under tool row
Manual trendlines, rays, horizontals, fibs, boxes, notes.
HowToolbar tools + favourite tools stored in localStorage.
You seeDrawing toolbar under chart · favourites · undo/clear
Predictive analysis panel
Words + scores explaining the same plan as the chart lines.
HowShows bias, ATR, range position, confidence bar.
You seeRight column on /chart
Walk-forward S/R strategy — optimizes expectancy_r_net after costs.
HowAgent v1.5.4: lab fill + volume profile for 1000-trade WR; high_wr selective.
You see/agent · run · WR% · exp_net · equity · Learn
L1 · Presentation
scan · ≥70Trades log
Setup book ≥70 · 30m windows · Scan refresh · taken WR.
HowScan & refresh pulls liquid markets on 5m (no chart required).
You see/setups · Scan & refresh · window countdown · WA status
List / scan / save setups · windows · policy.
HowGET /api/trades?scan=1 — multi-symbol refresh
Grok 4.5 / rules model updates + budget gate.
HowGET /api/agent/learn — model, budget, continuous
You see/learn · Agent Learn
Grok 4.5 proposes model params within 10% SuperGrok Heavy.
HowFresh backtest + desk outcomes → Grok JSON → model_overrides.
You see/learn · history · budget strip · data/grok_learn_usage.json
HQ setups (conf≥70) pushed when the 30m window closes.
HowIn-desk: processClosedWindows on trades refresh.
You seeWA status on /setups · Systems WA probe
Supabase (identity & storage)
Auth + Postgres for users, settings, saved zones/setups.
HowSupabase Auth issues sessions for allowlisted emails.
You seeLogin form · settings defaults · schema.sql
Control loop (Sense → Decide → Present)
Adaptive live heartbeat — 5s on 1m, slower on higher TFs.
HowSense: pull candles from best available provider (Exness→Binance→Yahoo).
You seeUpdated badge · live 5s · 1m chip · Refresh button
Not AfriLoop mining zones
This desk is chart S/D — not Zimbabwe logistics supply/demand.
HowAfriLoop mining model = cities, corridors, stockouts, desk RFQ.
You seedocs/BUILD_SCOPE_INVENTORY.md · store SUPPLY_DEMAND_ZONE_MODEL.md