# TradingBite indicator inventory (F6 audit — finalized)

**Audit finalized:** 2026-10-04  
**Platform baseline:** `v0.10.0` @ `6108fd4`  
**Approved Pine source root (read-only):** `C:\Users\akfai\Downloads\Cursor Project\TradingBite\`  
**Roadmap reference (priority hint, not exclusive list):** `TradingBite/docs/TRADINGBITE-ROADMAP-A-to-Z.md` § F3  

**Note:** Roadmap F3 lists seven Pine products; this inventory adds **Structural Market Swings** and **Insight Lab** by explicit F6 audit decision (2026-10-04). Watermark is documented but **excluded** from New Indicators.

## Scope rules

- Count Pine `indicator(...)` sources only (no EAs/strategies in this tree).
- One row per approved product version; legacy duplicates listed under “Excluded legacy” only.
- Do not fabricate indicators absent from the Pine tree.
- `reference.sma` (F1) is platform reference, not a TradingBite Pine port.

---

## Approved TradingBite indicators (Trading Products → New Indicators)

These **eight** products belong in the F6 catalog and future **New Indicators** UI.

| # | Indicator | Source file | Version | New Indicators | Migration status | Priority / notes |
| - | --------- | ----------- | ------- | -------------- | ---------------- | ---------------- |
| 1 | Support and Resistance Finder 2.1 | `Support-Resistance-Finder-2.1.pine` | 2.1 (Pine v6) | Yes | **MIGRATED** — `tradingbite.sr-finder-2.1` | Done (F2); HTF `useMtf` still limited (see hard cases) |
| 2 | Swing High/Low BOS Marker | `TRADING-BITE-Swing-High-Low-BOS-Marker-V2.2.pine` | V2.2 (Pine v5) | Yes | **APPROVED — NEEDS PORT** | Roadmap F3 #1; ZigLib dependency |
| 3 | Wyckoff Market Structure | `Wyckoff-Market-Structure/Wyckoff-Market-Structure-v2.1.pine` | v2.1 (Pine v6) | Yes | **APPROVED — NEEDS PORT** | Roadmap F3 #2; full overlay visuals |
| 4 | Pullback Meter | `Trading-Bite-Pullback-Meter.pine` | v2.1 (Pine v6) | Yes | **APPROVED — NEEDS PORT** | Roadmap F3 #4 |
| 5 | High/Low Sweep (Sweep Confirm) | `Trading-Bite-High-Low-Sweep-v2.2/Trading-Bite-Sweep-Confirm.pine` | v2.2 (Pine v6) | Yes | **APPROVED — NEEDS PORT** | Roadmap F3 #5 |
| 6 | Command Center | `Command-Center.pine` | v1.3.6 (Pine v6) | Yes | **APPROVED — NEEDS PORT** | Roadmap F3 #6; heavy MTF |
| 7 | Structural Market Swings | `Structural-Market-Swings.pine` | v1.2 (Pine v6) | Yes | **APPROVED — NEEDS PORT** | F6 decision: include (market-structure family; not in roadmap F3 table) |
| 8 | Insight Lab | `Trading-Bite-Insight-Lab.pine` | v1.1 (Pine v6) | Yes | **APPROVED — EXPERIMENTAL / NEEDS REVIEW** | Source: “Experimental suite”; not production-stable |

### Finalized counts (New Indicators catalog)

| Metric | Count |
| ------ | ----- |
| Approved TradingBite indicators (catalog) | **8** |
| Migrated (TradingBite Pine ports) | **1** (S/R Finder 2.1 only) |
| Approved — needs port | **6** (rows 2–7 except row 8 experimental) |
| Approved — experimental / needs review | **1** (Insight Lab) |
| Platform reference (not TB Pine) | **1** (SMA — separate built-in) |

---

## Per-indicator technical profile

| Indicator | Overlay / pane | MTF (`request.security`) | Renderer needs | Major dependencies / blockers |
| --------- | -------------- | ------------------------- | -------------- | ------------------------------ |
| S/R Finder 2.1 | Overlay | Optional HTF pivots | Lines (boxes/labels in Pine not fully rendered) | HTF until MTF plumbing; live forming bar vs Pine `isconfirmed` |
| BOS V2.2 | Overlay | No | Lines, labels, markers | **`import DevLucem/ZigLib/1`** — TS parity strategy required; do not guess |
| Wyckoff v2.1 | Overlay | Yes (HTF/LTF) | Lines, **boxes**, **labels**, phases | Line-only renderer **insufficient** — do not flatten |
| Pullback Meter | Overlay (+ dashboard) | No | Lines, labels, dashboard text | `useLiveExtreme` / forming wick behavior |
| Sweep Confirm | Overlay | Period/session levels | Lines, labels | — |
| Command Center | Overlay + table UI | **Yes** (4 TFs + daily/session) | Lines, dashboard, MTF matrix | **MTF architecture required** — do not substitute chart TF |
| Structural Market Swings | Overlay | No | Lines, labels, alerts | Swing confirmation logic; alert conditions in Pine |
| Insight Lab | Overlay (dashboard) | Yes (daily + offsets) | Dashboard, optional lines | **Experimental**; multi-module; review before parity claims |

---

## Excluded from Trading Products → New Indicators

| Product | Source | Version | Reason |
| ------- | ------ | ------- | ------ |
| Watermark | `Trading-Bite-Watermark-v3.pine` | v3.3 (Pine v6) | **UI watermark/chrome, not an indicator product.** Roadmap F3: “UI chrome only”. May inform app branding later; **do not migrate as a study.** |

Legacy Watermark v2 remains excluded (superseded by v3 for documentation only).

---

## Excluded legacy / duplicate (do not migrate separately)

| File | Superseded by |
| ---- | ------------- |
| `TRADING-BITE-Swing-High-Low-BOS-Marker-V2.1.pine` | V2.2 |
| `Wyckoff-Market-Structure-v1.pine` | v2.1 |
| `Wyckoff-Market-Structure-v2.pine` | v2.1 |
| `Trading-Bite-Watermark-v2.pine` | v3 (chrome only; not in catalog) |

---

## Non-indicator artifacts (excluded)

| File | Reason |
| ---- | ------ |
| `build_sweep_guide.py`, `docs/generate-bos-marker-docx.py` | Build/doc scripts |
| `README-*.txt`, `Wyckoff-Market-Structure/README.md` | Documentation only |

---

## Platform built-ins (not TradingBite Pine catalog)

| ID | Name | Status |
| -- | ---- | ------ |
| `reference.sma` | SMA (F1 reference) | MIGRATED / built-in |
| `tradingbite.sr-finder-2.1` | S/R Finder 2.1 | **Only migrated TradingBite indicator at F6 audit checkpoint** |

---

## Known hard cases (retain for F6 implementation)

### BOS V2.2

Uses `import DevLucem/ZigLib/1`. Do not guess library behavior. Before port: deliberate TypeScript Zig/structure-engine parity strategy, or document what cannot be reproduced.

### Wyckoff v2.1

Large visual overlay: lines, boxes, labels, phases, structural annotations. Current line-only renderer is insufficient. **Do not flatten** to simple lines.

### Command Center

Substantial `request.security` / MTF. Requires proper MTF data input architecture. **Do not** silently replace MTF values with chart timeframe.

### Support & Resistance Finder 2.1

Already migrated. HTF `useMtf` remains limited until MTF candle plumbing exists. **Do not pretend** this is solved.

### Structural Market Swings v1.2

Approved for catalog and future port (market-structure family).

### Insight Lab v1.1

Approved for catalog as **experimental / needs review**. Source describes experimental modules. **Not production-ready** in documentation or UI copy.

---

## Framework gaps (unchanged from audit)

| Gap | Affected indicators |
| --- | ------------------- |
| Pane/oscillator renderer for indicator outputs | Future pane-type studies |
| Boxes, zones, labels on chart | Wyckoff, S/R Pine UI, Sweep, Command Center |
| Marker sync helper | BOS, Structural Swings, Sweep |
| MTF candle feed | Command Center, Wyckoff, S/R `useMtf`, Insight Lab |
| Stable `indicatorInstanceId` + multi-instance UI | All (F6 manager) |
| Indicator condition/event metadata for F7 | All TB ports |

---

## F6 migration status

**NOT STARTED** (documentation checkpoint only).

**Next (after checkpoint):** Framework extensions, then first proper TradingBite port per roadmap/hard-case readiness (not in this step).
