Skip to content

SoCloseSociety/TradeBobbyTerminal

Repository files navigation

πŸ€– TradeBobby

A Bloomberg-style market intelligence terminal for ICT/SMC macro trading.

Open-source, self-hosted, runs on your laptop. Synthesizes 15+ free data sources into a single decision-grade dashboard, generates trade ideas with multi-factor confluence scoring, and ships a 1900-line Pine Script V6 indicator for TradingView.

Node Pine License SoClose Society

Features Β· Architecture Β· Quick start Β· Pine V6 Β· Roadmap


πŸ“Έ Screenshots

Live crypto orderflow β€” funding Β· OI Β· liquidations Β· CVD Β· order book

TradeBobby live orderflow terminal

A real-time microstructure terminal: candlestick + CVD, a derivatives ribbon (funding rate, open interest, retail vs smart-money long/short, taker flow, cross-venue funding gap), an SVG long/short squeeze gauge, a liquidation feed, an order-book heatmap, and a trades tape β€” all from Binance spot + futures and Hyperliquid, no API key.

Macro terminal & ICT/SMC scanner Β Β·Β  Built-in guide

TradeBobby macro terminal TradeBobby in-app guide

What it is

TradeBobby is a research desk in a box for systematic discretionary traders who follow ICT/SMC methodology and trade macro narratives. It runs locally, pulls free data from 15+ public sources every 5-30 minutes, and renders a single dense terminal that tells you:

  • 🎚 What regime we're in (0-100 Composite Risk Index)
  • πŸ“‘ What just happened (live news triggers + sentiment shifts)
  • πŸ› Who's positioned how (CFTC COT extremes, retail mania spikes, ETF flows)
  • 🎯 Where the highest-quality setup is forming (multi-source synthesis with conviction scoring)
  • ⏱ What's about to hit (next catalyst countdown -- NFP, CPI, FOMC, earnings)

It does not execute trades, send orders, or manage your capital. It's a decision support tool. You stay in the driver's seat.


✨ Features

πŸ–₯ Web terminal (localhost:3333)

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ STATUS  REGIME β”‚ VIX β”‚ DXY β”‚ GOLD β”‚ WTI β”‚ F&G β”‚ 10Y β”‚ NEWS β”‚ TRIG │…  β”‚  ← live status bar (13 cells)
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ TICKER  scroll across all watchlist symbols (24-hour ticker tape)     β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ ⏱ NEXT CATALYST T-4h 32m Β· NFP 13:30 UTC β†’ DXY/Gold/NAS/USDJPY        β”‚
β”‚ 🚨 SETUP A+ LONG XAGUSD entry $32.18 SL $31.40 TP2 $34.50 score 9     β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ πŸ€– Agent Brief -- multi-source synthesis (Regime + Top 4 ideas + ...)  β”‚
β”‚ πŸ“‘ Market Wrap -- narrative auto-generated, Bloomberg style             β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ 🎚 Risk  β”‚ βš™οΈ State  β”‚ 🎯 Top Sig   β”‚ ⭐ Watchlist  β”‚ ⚑ Killzones    β”‚
β”‚ Index    β”‚ regime    β”‚ live entry   β”‚ starred syms  β”‚ live timers     β”‚
β”‚ gauge    β”‚ confl.    β”‚ + R:R + TV   β”‚               β”‚                 β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ πŸ“Š Heatmap (filterable: FX/IDX/CRYPTO/METALS/OIL/β˜…)                   β”‚
β”‚   click-left = TradingView Β· right-click = star/unstar in watchlist   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ πŸ“ˆ Macro Pulse β”‚ πŸͺ™ Crypto Pulse β”‚ πŸ“‰ Yield Curve β”‚ πŸ”„ Sector Rotationβ”‚
β”‚ πŸ› COT         β”‚ β›“ On-chain     β”‚ πŸ’± Currency    β”‚ πŸ“ VIX Term       β”‚
β”‚ 🦍 Reddit      β”‚ πŸ”₯ Mag-7       β”‚ πŸ“Š Earnings   β”‚ 🎯 Setup Tracker  β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ 🚨 Alerts Center  β”‚ πŸ“ˆ Sentiment 24h Chart                            β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ πŸ“‘ Live News Stream (40 most recent, categorized)                     β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

41 panels Β· 34 API endpoints Β· 6 sticky bars Β· Bloomberg-style density.

🌊 Live crypto orderflow (localhost:3333/live)

A dedicated Coinglass-style microstructure terminal for BTC/ETH/SOL/BNB/XRP/DOGE/ADA/AVAX:

  • Derivatives ribbon β€” funding rate (/8h + annualized, live countdown to next funding), open interest + 24h change, long/short ratio for retail accounts vs top smart-money positions, taker buy%, and the Binance↔Hyperliquid funding gap (cross-venue positioning divergence).
  • Candlestick + CVD (true taker buy/sell delta) + volume, with $25k+ whale prints.
  • Long/short squeeze gauge (SVG) with automatic squeeze-risk detection.
  • Liquidation feed + rolling long-vs-short liquidation $ bar (Binance forced-liquidation stream).
  • Order-book heatmap (live resting liquidity) + trades tape (buy/sell aggressor).
  • OBI sparkline and a funding heat radar across all 8 symbols.
  • Per-feed connection dots, keyboard nav (1–8 symbols, [ / ] timeframe), all data via WebSocket + smart polling. No API key required.

πŸ–₯️ One-click desktop app (macOS / Windows)

An Electron wrapper (desktop/) launches the dashboard and all ~20 daemons in one click, shows the terminal in a window, and puts a menu-bar tray with Start / Stop / Restart / status. Build with cd desktop && npm install && npm run dist:mac.

πŸ“– Built-in guide (localhost:3333/help)

A full in-app tutorial: desktop app, every tab, every orderflow panel explained, all daemons & data sources, keyboard shortcuts, trading rules, how to read the signals, and troubleshooting.

⌨ Bloomberg-style command palette (⌘K / Ctrl+K)

Type XAU DES to open Gold detail, BTC GIP to open chart, EUR CN for filtered news, OIL STAR to star.

Aliases for everything: XAU β†’ XAUUSD, NQ β†’ NAS100, CABLE β†’ GBPUSD, etc.

πŸ”” Multi-channel alerts

  • macOS native notifications (built-in, sound included)
  • Discord webhook (opt-in via DISCORD_WEBHOOK_URL env var)
  • Telegram bot (opt-in via TELEGRAM_BOT_TOKEN + TELEGRAM_CHAT_ID)
  • Audio bip via Web Audio API (browser, toggleable)
  • Sticky banner at top of dashboard for A+ signals

πŸ“ˆ Pine Script V6 indicator

1931 lines Β· 40 alerts Β· 132 inputs Β· 13 V6 modules on top of a robust V5 ICT/SMC base.

Drop it on any TradingView chart, get:

  • Structure (BOS/CHoCH/swing labels)
  • Order Blocks with displacement validation
  • Fair Value Gaps with proper mitigation tracking
  • Liquidity (equal H/L + sweep detection)
  • Premium/Discount zones
  • Multi-timeframe bias dashboard (D + 4H + 1H + current)
  • Anchored VWAP (daily + weekly, optional std-dev bands)
  • VIX risk-off background (fetches TVC:VIX)
  • Killzone background highlights (Asia / London / NY overlap)
  • HTF FVG projection (4H + Daily projected onto current TF)
  • Breaker blocks Β· Inverse FVG Β· Mitigation blocks Β· Liquidity voids
  • ⭐ Stacked Confluence Zones -- flag when 3+ structures overlap

See PINE_V6_CHANGELOG.md for module-by-module breakdown.

🧠 Multi-source synthesis agent

trade-agent.js reads ALL data sources every 15 min and outputs:

  • Regime classification (RISK-ON/MIXED/RISK-OFF with confidence score)
  • Composite Risk Index (0-100, weighted by 9 factors)
  • Top 5 trade ideas with synthesis score (boosted/penalized by COT extremes, currency strength, sector rotation, news sentiment, historical WR per symbol)
  • Divergence detection (news-vs-price, VIX-vs-news, COT crowded vs setup direction)
  • Upcoming catalyst list (econ events + earnings)

πŸ› Free data sources (all public APIs, no auth)

Source What Refresh
Yahoo Finance DXY, VIX, US yields, sector ETFs, Mag-7, futures 5 min
CFTC publicreporting Commitment of Traders (20 markets) 6 hours
alternative.me Crypto Fear & Greed Index 5 min
CoinGecko BTC/ETH dominance, global mcap 5 min
Binance perpetuals Funding rates (12 tracked + extremes) 5 min
Binance Futures (fapi) Funding, open interest, long/short ratios, taker flow, liquidation stream 60 s / realtime
Hyperliquid Cross-venue funding & OI (BTC/ETH/SOL) 60 s
Binance spot + WS Orderflow: klines, depth, aggTrades, CVD (the /live page) realtime
blockchain.info BTC hashrate, supply, difficulty 10 min
mempool.space BTC fees, congestion 10 min
Google News RSS News (60+ feeds, 8 categories, sentiment scoring) manual/cron
NASDAQ Earnings calendar (Mag-7 + 50 tickers) 12 hours
Reddit (no auth) r/wsb + r/CryptoCurrency mention spikes 30 min
TradingView MCP Jackson Live price scans + V5 ICT signals 4 hours (cron)

πŸ— Architecture

graph LR
  subgraph Sources [Free APIs]
    Y[Yahoo Finance]
    C[CFTC]
    K[CoinGecko/Binance]
    B[blockchain.info]
    R[Reddit JSON]
    N[Google News RSS]
    T[TradingView MCP]
  end

  subgraph Daemons [Background daemons]
    MP[macro-pulse]
    CP[crypto-pulse]
    COT[cot-fetcher]
    OC[onchain-btc]
    EC[econ-cal]
    EF[etf-flows]
    RM[reddit-mania]
    CS[currency-strength]
    NS[news-scanner]
    ST[setup-tracker]
    AS[auto-scan]
  end

  subgraph Brain
    TA[trade-agent.js<br/>synthesis]
    PA[pattern-analyzer]
    BT[backtester]
    WB[weekly-brief]
  end

  subgraph Outputs
    D[Dashboard :3333<br/>41 panels]
    AL[Alerts<br/>macOS/Discord/Telegram]
    MD[Markdown briefs]
  end

  Y --> MP
  Y --> EF
  C --> COT
  K --> CP
  B --> OC
  R --> RM
  N --> NS
  T --> AS

  MP --> TA
  CP --> TA
  COT --> TA
  OC --> TA
  RM --> TA
  CS --> TA
  NS --> TA
  EC --> TA
  AS --> ST

  TA --> D
  TA --> MD
  ST --> PA
  ST --> AL
  PA --> D
  BT --> MD
  WB --> MD
Loading

⚑ Quick start

Requirements

  • macOS or Linux
  • Node.js 22+
  • (Optional) TradingView MCP Jackson for live ICT/SMC scans
  • (Optional) Chrome for cdp + TradingView desktop login

Install

git clone https://github.com/SoCloseSociety/TradeBobbyTerminal.git
cd TradeBobby
npm install --prefix dashboard

# Generate first data snapshot
cd dashboard
node macro-pulse.js
node crypto-pulse.js
node cot-fetcher.js
node news-scanner.js
node trade-agent.js

# Launch dashboard + 14 background daemons
bash manage.sh start

# Open in browser
open http://localhost:3333

Verify everything works

bash manage.sh status   # process state + /api/health summary
bash manage.sh test     # full 86-check smoke test

Expected: 🟒 ALL HEALTHY · 86/86 PASS.

Optional integrations

# Discord webhook alerts
export DISCORD_WEBHOOK_URL="https://discord.com/api/webhooks/..."
bash manage.sh restart setup-alerter

# Telegram bot alerts
export TELEGRAM_BOT_TOKEN="..."
export TELEGRAM_CHAT_ID="..."
bash manage.sh restart setup-alerter

# Claude API narrator (3-paragraph regime brief every 4h)
export ANTHROPIC_API_KEY="sk-ant-..."
bash manage.sh restart claude-narrator

# TradingView MCP scans (live ICT/SMC signals)
export TV_MCP_DIR="$HOME/tradingview-mcp-jackson"
node auto-scan.js

Auto-recovery

# One-shot check + restart dead processes
bash manage.sh watchdog

# Continuous monitoring (background, checks every 60s)
nohup bash watchdog.sh --loop > /tmp/watchdog.log 2>&1 &

πŸ“Š Pine Script V6

Copy Pro_Trading_System_V5.pine into TradingView Pine Editor β†’ Add to chart.

13 V6 modules added on top of V5 base

# Module Concept Alerts
1 πŸŸ₯ VIX Risk Filter tints background when VIX > threshold, optional block longs 3
2 πŸ“Š Anchored VWAP Daily + Weekly + optional std-dev bands 4
3 ⚑ Killzone background Asia / London / NY overlap highlights 2
4 πŸ”„ Breaker Blocks OBs broken in opposite direction β†’ reversed S/R --
5 🧭 Multi-TF Bias D + 4H + 1H + Cur EMA alignment composite 3
6 ↔️ Inverse FVG FVGs closed-through invert their role 1
7 🎯 OTE Swing zone auto-draws Fib 0.62-0.79 from latest swing --
8 🚫 News Blackout suppresses signals around NFP/CPI/FOMC/ECB 2
9 πŸ”± Power of 3 (AMD) Asia accumulation / London manipulation / NY distribution 2
10 πŸ“ˆ HTF FVG 4H + Daily FVGs projected on current chart 4
11 πŸ’¨ Liquidity Voids extreme imbalance candles > N Γ— ATR 1
12 πŸ”„ Mitigation Blocks clean impulse origin zones 2
13 ⭐ Stacked Confluence flags when 3+ structures overlap at price (the killer module) 1

Combined with the V5 engine: structure, OBs, FVGs, liquidity sweeps, key levels, premium/discount, sessions, HTF bias, confluence (0-10), entry signals with cooldown/zone/direction filters, R:R calc, dashboard.


πŸ“‚ Project structure

TradeBobby/
β”œβ”€β”€ README.md                        ← you are here
β”œβ”€β”€ PINE_V6_CHANGELOG.md             ← Pine V6 module-by-module
β”œβ”€β”€ DAILY_WATCHLIST.md               ← 7 tiers, ~100 charts, daily routine
β”œβ”€β”€ AGENT_ARCHITECTURE.md            ← agent design
β”œβ”€β”€ NEXT_PHASES.md                   ← roadmap (10 future phases)
β”œβ”€β”€ CLAUDE.example.md                ← config template (copy to CLAUDE.md)
β”œβ”€β”€ MARGIN_STRATEGY.example.md       ← strategy template
β”œβ”€β”€ Pro_Trading_System_V5.pine       ← Pine V6 indicator (1931 lines)
β”‚
└── dashboard/
    β”œβ”€β”€ server.js                    ← Express + HTML (3400 lines, 31 endpoints, 41 panels)
    β”œβ”€β”€ package.json
    β”‚
    β”œβ”€β”€ manage.sh                    ← unified control: start/stop/status/logs/health/test
    β”œβ”€β”€ watchdog.sh                  ← auto-restart dead processes
    β”œβ”€β”€ smoke-test.sh                ← 86-check verification
    β”œβ”€β”€ start-agent.sh               ← legacy one-shot startup
    β”‚
    β”œβ”€β”€ _log-helper.js               ← shared bounded logger (1MB cap, 1000-line tail)
    β”‚
    β”‚ ── data fetcher daemons ──
    β”œβ”€β”€ auto-scan.js                 ← TradingView MCP scanner (V5 ICT/SMC)
    β”œβ”€β”€ generate-setups.js           ← V5 setup engine
    β”œβ”€β”€ scan.js
    β”œβ”€β”€ news-scanner.js              ← Google News RSS + sentiment + triggers
    β”œβ”€β”€ econ-calendar.js             ← macro events
    β”œβ”€β”€ macro-pulse.js               ← Yahoo Finance: DXY/VIX/yields/sectors/Mag-7 (52 tickers)
    β”œβ”€β”€ crypto-pulse.js              ← F&G + dominance + funding
    β”œβ”€β”€ cot-fetcher.js               ← CFTC institutional positioning (20 markets)
    β”œβ”€β”€ onchain-btc.js               ← hashrate, fees, halving countdown
    β”œβ”€β”€ earnings-cal.js              ← NASDAQ earnings (Mag-7 + key tickers)
    β”œβ”€β”€ reddit-mania.js              ← r/wsb + r/CryptoCurrency mention spikes
    β”œβ”€β”€ currency-strength.js         ← FX relative strength meter
    β”œβ”€β”€ etf-flows.js                 ← BTC/ETH/Gold/Silver/Credit ETF flow proxy
    β”œβ”€β”€ setup-tracker.js             ← V5 signal performance logger
    β”œβ”€β”€ setup-alerter.js             ← A+ signal notify (macOS + Discord + Telegram)
    β”‚
    β”‚ ── synthesis layer ──
    β”œβ”€β”€ trade-agent.js               ← multi-source synthesis brief (every 15min)
    β”œβ”€β”€ weekly-brief.js              ← Sunday retrospective (regime, signals, takeaways)
    β”œβ”€β”€ backtester.js                ← analyze scan_history + setup_history
    β”œβ”€β”€ pattern-analyzer.js          ← combo win-rate detection
    β”œβ”€β”€ claude-narrator.js           ← Anthropic API narrative (opt-in)
    β”œβ”€β”€ tts-narrator.js              ← macOS `say` regime narration
    β”‚
    β”œβ”€β”€ profiles/                    ← 4 trading profiles (preset configs)
    β”‚   β”œβ”€β”€ scalp.json
    β”‚   β”œβ”€β”€ swing.json
    β”‚   β”œβ”€β”€ aggressive.json
    β”‚   └── conservative.json
    β”‚
    └── legacy/                      ← archived optional integrations
        β”œβ”€β”€ backtest.js              ← legacy backtest engine
        β”œβ”€β”€ broker-icmarkets.js      ← MetaApi cloud (MT4/5)
        └── broker-ctrader.js        ← cTrader Open API

πŸ›° Background daemons

14 lightweight Node processes that fetch and refresh data independently. All managed via manage.sh.

Daemon Cadence Data
macro-pulse 5 min 52 tickers (DXY/VIX/yields/sectors/Mag-7/futures)
crypto-pulse 5 min F&G + dominance + funding rates
cot-fetcher 6 hours CFTC weekly (Friday updates)
onchain-btc 10 min Hashrate + fees + halving countdown
earnings-cal 12 hours NASDAQ earnings 14-day window
reddit-mania 30 min Retail mention spikes
currency-strength 5 min FX relative strength
etf-flows 30 min 15 institutional ETF volume/flow signals
setup-tracker 15 min V5 signal performance (per quality/symbol/dir)
setup-alerter 1 min A+ signal watcher β†’ multi-channel notify
trade-agent 15 min Multi-source synthesis brief
tts-narrator 2 hours macOS say regime narration (active sessions only)
claude-narrator 4 hours Anthropic API narrative (opt-in)
weekly-brief weekly Sunday retrospective Markdown

πŸ”‘ Setup A+ checklist (V6)

The dashboard cross-checks all of these -- when most are βœ…, you have an institutional-grade setup:

  • V5 Confluence β‰₯ 6/10 (dashboard row 14)
  • MTF Aligned 4/4 (dashboard row 20)
  • Stacked Confluence β‰₯ 3 (yellow background flash on Pine chart)
  • Daily VWAP aligned with direction
  • HTF FVG (4H or Daily) overlaps entry
  • Killzone NY overlap active (green background on Pine chart)
  • VIX not stressed (no red background)
  • P3 phase = DISTRIBUTION (NY) -- not Manipulation (London Judas)
  • Not in News Blackout window
  • OTE zone overlaps the entry
  • Entry trigger present: OB / FVG / Breaker / IFVG / Mitigation / Void

Scoring: 9+/11 = full size Β· 6-8/11 = standard size Β· <6/11 = pass.


πŸ§ͺ Backtesting & Pattern Recognition

node backtester.js          # β†’ backtest_report.md + .json
node pattern-analyzer.js    # β†’ pattern_insights.json
node weekly-brief.js        # β†’ weekly_brief.md (Sunday retrospective)

pattern-analyzer.js cross-references your setup_history with sentiment_history to identify:

  • Which symbol Γ— quality Γ— killzone Γ— VIX regime combinations have the highest historical win rate
  • Best/worst combos with statistical significance
  • Auto-generated trading recommendations

Once you accumulate 10+ closed setups, this becomes powerful intelligence.


πŸ”’ Privacy & data hygiene

This repo ships zero personal data:

  • βœ… All paths parameterized via env vars (TV_MCP_DIR, NODE_BIN)
  • βœ… Personal config files excluded (CLAUDE.md, MARGIN_STRATEGY.md)
  • βœ… Runtime state excluded (feedback.json, real_trades.json, sessions/)
  • βœ… Broker credentials use OAuth env vars (no hardcoded keys)
  • βœ… API keys for Anthropic/Discord/Telegram are env-only
  • βœ… Logs auto-rotate at 1MB (prevents accumulating sensitive data)

Templates provided for personal configs:


🎯 Trading style

Built for ICT/SMC discretionary macro traders. Core principles baked in:

  • Never move SL to breakeven before TP1 -- ICT retraces to entry before the real move
  • Discount/Premium zones -- long only in discount, short only in premium (configurable)
  • Killzones first -- best signals during London (14:00-18:00 UTC+7) and NY overlap (19:00-22:00 UTC+7)
  • HTF bias filter -- multi-timeframe alignment (D + 4H + 1H + Cur)
  • Risk per trade capped at 1% (configurable per profile)
  • Macro narrative > pure TA for commodities (gold/silver/oil ridden by geopolitics)

Profiles available for different styles:

  • πŸƒ Scalp -- intraday, killzone-only, 0.5% risk, tight stops
  • 🐒 Swing -- multi-day on 4H/Daily, 1% risk, 2.5 R:R minimum
  • πŸ”₯ Aggressive -- frequent, 2% risk, 4+ confluence minimum
  • πŸ›‘ Conservative -- A+ only, 0.5% risk, MTF aligned required, VIX < 22

πŸ“‹ Quick commands

# Status
bash dashboard/manage.sh status
bash dashboard/manage.sh test
bash dashboard/manage.sh health

# Lifecycle
bash dashboard/manage.sh start [daemon-name]
bash dashboard/manage.sh stop [daemon-name]
bash dashboard/manage.sh restart [daemon-name]
bash dashboard/manage.sh logs <daemon-name>

# Reports
node dashboard/backtester.js
node dashboard/pattern-analyzer.js
node dashboard/weekly-brief.js
curl http://localhost:3333/api/daily-brief.md      # current Markdown brief
curl http://localhost:3333/api/weekly-brief.md     # weekly retro
curl http://localhost:3333/api/health | jq         # system health JSON

# Resilience
bash dashboard/watchdog.sh                          # one-shot
nohup bash dashboard/watchdog.sh --loop &           # continuous (60s)

πŸ›£ Roadmap

See NEXT_PHASES.md for the full 15-phase roadmap. Current status:

  • βœ… Phases 0-13 shipped (terminal, 14 daemons, Pine V6, alerts, profiles, backtester, pattern analyzer, narrators)
  • 🚧 Phase 9 -- UI polish (mobile-responsive, drag-resize, themes)
  • 🚧 Phase 14 -- Mobile companion app
  • 🚧 Phase 15 -- Docker compose + CI/CD

Open to contributions on any phase. Open an issue first to align on scope.


🀝 Contributing

PRs welcome. Before submitting:

bash dashboard/smoke-test.sh
# Must pass 86/86 with 0 failures

Style guide: match the existing terse French/English mix in code comments -- code is read more than written, so make it scannable. Pine code follows the V5 conventions documented in the changelog.


πŸ“œ License

MIT -- see LICENSE.

This is research software. Use at your own risk. Past performance does not guarantee future results. Markets can stay irrational longer than you can stay solvent. The COT pctile 100 you fade today might rip another 5% before reversing. Always size positions you can survive being wrong about.


**Built with ❀️ by SoCloseSociety **

Made for the trader who wants Bloomberg density without the $25k/year terminal.

⭐ Star this repo Β· πŸ› Report a bug Β· πŸ’¬ Discussions

About

Self-hosted Bloomberg-style trading terminal: ICT/SMC macro scanner (forex/gold/indices/stocks) + live crypto orderflow (funding, open interest, liquidations, CVD, order book) from Binance & Hyperliquid. Node + Pine Script V6, no API key.

Topics

Resources

License

Stars

4 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors