ftd-detector
Installation
SKILL.md
FTD Detector Skill
FTD lifecycle and evidence contract (#765)
- Keep the FTD event separate from its current health. A close below the FTD-day low is a warning, not automatic rally failure. A later intraday low strictly below the rally low (the low of the pullback the rally attempt started from, frozen on Day 1; not the lowest low of the whole correction) fails that rally, before and after an FTD; equality holds. Day 1 low is informational only, not an interchangeable failure level.
- Missing/non-finite/nonpositive low evidence on any replayed bar means unavailable. Never substitute a close for a missing low.
- Default Nasdaq evidence is
^IXIC(Composite). Use--nasdaq-symbol QQQonly for a labeled Nasdaq-100 ETF proxy. Never substitute its volume or price into an index series or claim its DD count is the Composite count. No automatic fallback. quality_scoreis an uncalibrated technical heuristic, not success probability.exposure_rangeisNot assessedin every state. Do not derive portfolio percentages from the score; assess breadth, leadership, portfolio limits and operator decisions separately.- Day 4–10 is this model's FTD window. An attempt that reaches Day 11 without an FTD expires (RALLY_FAILED) and a new segment starts at that bar, so the next count's reference low is the lowest low from the expiry bar through its Day 1. The expiry bar is never Day 1, and a down close arms the new count (while not armed a bar can only arm it). IBD is reported to note that most FTDs come on days 4-7 and some come later (secondary report, IBD's official rule text not verified), so a later FTD is not modelled.
Purpose
Detect Follow-Through Day (FTD) signals that confirm a market bottom, using an explicit O'Neil-style technical model. Generates a quality score (0-100) with technical health warnings; portfolio exposure is not assessed.
Complementary to Market Top Detector:
- Market Top Detector = defensive (detects distribution, rotation, deterioration)
- FTD Detector = offensive (detects rally attempts, bottom confirmation)