๐Ÿ”” Management Watcher โ€” Specification (for review โ€” nothing built yet)

Step 3 of the management-plans plan. Purpose: remember the plan during live execution so patience and discipline happen automatically โ€” the watcher tells you the moment a name or a position hits a management-relevant line.
โš  REVIEW GATE. This is a written spec. Per the plan, nothing touches live production (scanners, Pine, alerts, hotkeys) until you approve this + the playbook copy. Read-only, alerts only โ€” the watcher NEVER auto-executes a trade.
One line: it watches two lists โ€” names you're waiting on, and positions you're in โ€” and fires an alert when price reaches the exact line your plan cares about.

The four alerts (what fires, and why)

AlertFires whenThe messageWhich plan it serves
โ‘  Pullback zoneA watchlist name (e.g. JNJ) pulls back into a gradeable entry zone โ€” tags a rising 20/50-day or a tight base with a defined stop nearby."JNJ at pullback zone โ€” grade it, size by grade."Entry discipline (don't chase; wait for the setup).
โ‘ก Ceiling / 200-DMAAn open position tags the 200-day line or another major ceiling (prior high, anchored VWAP, supply wall)."IBIT tagging 200-day โ€” TRIM NOW (50โ€“100%)."Momo-burst + ceiling trim (the +5.22R lever).
โ‘ข Staircase legAn open position closes below the next daily MA in the staircase."5-day break โ†’ sell 1/3" ยท "10-day โ†’ sell 1/3" ยท "20-day โ†’ exit final 1/3."Staircase management (A-context, clean air).
โ‘ฃ Selected lineA live trade hits the management line you chose for it at entry (the 20-EMA for an intraday ride, the trailing DMA for a topping short, etc.)."MU lost the falling 20-day โ€” cover the runner."Whatever plan is attached to that position.

What it needs (data + state)

PieceSourceNotes
The two listsWatchlist = the Trend-Playbook board + today's SIP names. Positions = kti order log / positions (acct 14859).Positions are read-only; we never place orders.
The lines (200-DMA, 5/10/20-DMA, prior highs, VWAP/AVWAP)Massive daily bars (already wired) + intraday from kti.Pullback zones + ceilings computed pre-market; refreshed intraday.
Plan-per-position (the key new piece)Each open position tagged with its chosen plan: burst-trim / staircase / ema-ride.Entered by James at entry (a dropdown), or defaulted from the setup's grade + context. This is what lets alert โ‘ฃ know which line matters. Later: set automatically by the hotkey engine.

How you'd get the alert

Same channels as the live GO banner, escalating: (1) a Watcher page that auto-refreshes with the active alerts; (2) a sound + desktop popup on your box; (3) later, a phone push (Telegram/email) so you're covered away from the screen. Every alert says the ticker, the line it hit, and the exact action ("sell 1/3", "TRIM NOW", "cover").

Build plan (staged, each reviewable)

Phase A โ€” daily, read-only (safest first)
Pre-market + a few intraday checks: pullback-zone alerts (watchlist) + ceiling/200-DMA + staircase-leg alerts for open positions. Reuses the daily data + the live-scanner publish path. No new execution risk. ~ยฝ day.
Phase B โ€” plan-per-position + the selected-line alert
Add the plan tag to each position + alert โ‘ฃ (the chosen management line). Needs the small position-tagging UI. After Phase A is trusted.
Phase C โ€” hotkey / execution enforcement (last, most careful)
Connect to the SIM hotkey engine: grade โ†’ size โ†’ auto-stop at entry, and the plan drives the trims. SIM first, never live until proven. Separate sign-off.

Before any of it โ€” practice (Step 2)

Per the plan, in parallel: feed the Trend-Playbook tickers/phases into the VCET replay viewer, replay each setup, and force the call โ€” entry, first trim, add/no-add, stop raise, final exit โ€” then compare to the written plan. Builds the muscle memory the watcher then reinforces. I'll wire the replay feed as a separate, read-only step.
Spec only โ€” awaiting review. Sources: the Trend Playbook (plans) + the MTF-VP autopsy (the numbers). ยท Hub