Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
tradermonty avatar

Ftd Detector

  • 939 installs
  • 2.6k repo stars
  • Updated August 4, 2026
  • tradermonty/claude-trading-skills

ftd-detector is a trading agent skill that detects Follow-Through Day signals and confirms market bottoms using William O'Neil methodology for developers and quantitative traders who need systematic re-entry timing after

About

ftd-detector is a Claude trading skill that implements William O'Neil Follow-Through Day detection to confirm market bottoms and guide equity re-entry timing. The skill tracks dual indexes—S&P 500 and NASDAQ—through a state machine covering rally attempts, FTD qualification, and post-FTD health monitoring. Developers and systematic traders invoke ftd-detector when evaluating whether corrections have ended and increasing equity exposure is justified. It complements defensive market-top-detector skills by focusing on offensive bottom-confirmation signals. Reach for ftd-detector when analyzing rally attempts, follow-through days, or post-correction re-entry decisions rather than discretionary chart reading alone.

  • Dual-index tracking of S&P 500 and NASDAQ
  • State machine for rally attempt, FTD qualification, and post-FTD health monitoring
  • Generates 0-100 quality score with clear exposure guidance
  • Complementary to market-top-detector: offensive bottom confirmation versus defensive top detection
  • Triggers on queries about market bottoms, re-entry timing, or increasing equity exposure after corrections

Ftd Detector by the numbers

  • 939 all-time installs (skills.sh)
  • +83 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #163 of 1,106 Finance & Trading skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/tradermonty/claude-trading-skills --skill ftd-detector

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs939
repo stars2.6k
Last updatedAugust 4, 2026
Repositorytradermonty/claude-trading-skills

How do you detect Follow-Through Day market bottom signals?

Automatically detect Follow-Through Day signals and confirm market bottoms using William O'Neil’s methodology before making equity exposure decisions.

Who is it for?

Systematic equity traders applying William O'Neil FTD rules who want dual-index bottom confirmation before adding exposure.

Skip if: Developers building unrelated application features or traders who rely purely on discretionary analysis without O'Neil methodology.

When should I use this skill?

The user asks about market bottom signals, follow-through days, rally attempts, or safe timing to increase equity exposure after corrections.

What you get

FTD qualification status, dual-index rally-attempt state, post-FTD health readings, and re-entry timing guidance.

  • FTD signal assessment
  • Dual-index state machine status
  • Equity re-entry timing guidance

Files

SKILL.mdMarkdownGitHub ↗

FTD Detector Skill

Purpose

Detect Follow-Through Day (FTD) signals that confirm a market bottom, using William O'Neil's proven methodology. Generates a quality score (0-100) with exposure guidance for re-entering the market after corrections.

Complementary to Market Top Detector:

  • Market Top Detector = defensive (detects distribution, rotation, deterioration)
  • FTD Detector = offensive (detects rally attempts, bottom confirmation)

When to Use This Skill

English:

  • User asks "Is the market bottoming?" or "Is it safe to buy again?"
  • User observes a market correction (3%+ decline) and wants re-entry timing
  • User asks about Follow-Through Days or rally attempts
  • User wants to assess if a recent bounce is sustainable
  • User asks about increasing equity exposure after a correction
  • Market Top Detector shows elevated risk and user wants bottom signals

Japanese:

  • 「底打ちした?」「買い戻して良い?」
  • 調整局面(3%以上の下落)からのエントリータイミング
  • フォロースルーデーやラリーアテンプトについて
  • 直近の反発が持続可能か評価したい
  • 調整後のエクスポージャー拡大の判断
  • Market Top Detectorが高リスク表示の後の底打ちシグナル確認

Difference from Market Top Detector

AspectFTD DetectorMarket Top Detector
FocusBottom confirmation (offensive)Top detection (defensive)
TriggerMarket correction (3%+ decline)Market at/near highs
SignalRally attempt → FTD → Re-entryDistribution → Deterioration → Exit
Score0-100 FTD quality0-100 top probability
ActionWhen to increase exposureWhen to reduce exposure

---

Execution Workflow

Phase 1: Execute Python Script

Run the FTD detector script:

python3 skills/ftd-detector/scripts/ftd_detector.py --api-key $FMP_API_KEY

The script will: 1. Fetch S&P 500 and QQQ historical data (60+ trading days) from FMP API 2. Fetch current quotes for both indices 3. Run dual-index state machine (correction → rally → FTD detection) 4. Assess post-FTD health (distribution days, invalidation, power trend) 5. Calculate quality score (0-100) 6. Generate JSON and Markdown reports

API Budget: 4 calls (well within free tier of 250/day)

Phase 2: Present Results

Present the generated Markdown report to the user, highlighting:

  • Current market state (correction, rally attempt, FTD confirmed, etc.)
  • Quality score and signal strength
  • Recommended exposure level
  • Key watch levels (swing low, FTD day low)
  • Post-FTD health (distribution days, power trend)

Phase 3: Contextual Guidance

Based on the market state, provide additional guidance:

If FTD Confirmed (score 60+):

  • Suggest looking at leading stocks in proper bases
  • Reference CANSLIM screener for candidate stocks
  • Remind about position sizing and stops

If Rally Attempt (Day 1-3):

  • Advise patience, do not buy ahead of FTD
  • Suggest building watchlists

If No Correction:

  • FTD analysis is not applicable in uptrend
  • Redirect to Market Top Detector for defensive signals

---

State Machine

NO_SIGNAL → CORRECTION → RALLY_ATTEMPT → FTD_WINDOW → FTD_CONFIRMED
                ↑              ↓               ↓              ↓
                └── RALLY_FAILED ←─────────────┘     FTD_INVALIDATED
StateDefinition
NO_SIGNALUptrend, no qualifying correction
CORRECTION3%+ decline with 3+ down days
RALLY_ATTEMPTDay 1-3 of rally from swing low
FTD_WINDOWDay 4-10, waiting for qualifying FTD
FTD_CONFIRMEDValid FTD signal detected
RALLY_FAILEDRally broke below swing low
FTD_INVALIDATEDClose below FTD day's low

Quality Score (0-100)

ScoreSignalExposure
80-100Strong FTD75-100%
60-79Moderate FTD50-75%
40-59Weak FTD25-50%
<40No FTD / Failed0-25%

---

Prerequisites

  • FMP API Key: Required. Set FMP_API_KEY environment variable or pass via --api-key flag.
  • Python 3.9+: With requests library installed.
  • API Budget: 4 calls per execution (well within FMP free tier of 250/day).

Output Files

  • JSON: ftd_detector_YYYY-MM-DD_HHMMSS.json
  • Markdown: ftd_detector_YYYY-MM-DD_HHMMSS.md

Reference Documents

skills/ftd-detector/references/ftd_methodology.md

  • O'Neil's FTD rules in detail
  • Rally attempt mechanics and day counting
  • Historical FTD examples (2020 March, 2022 October)

skills/ftd-detector/references/post_ftd_guide.md

  • Post-FTD distribution day failure rates
  • Power Trend definition and conditions
  • Success vs failure pattern comparison

When to Load References

  • First use: Load skills/ftd-detector/references/ftd_methodology.md for full understanding
  • Post-FTD questions: Load skills/ftd-detector/references/post_ftd_guide.md
  • Regular execution: References not needed - script handles analysis

Related skills

How it compares

Use ftd-detector for offensive bottom-confirmation signals; pair with market-top-detector when you also need defensive top detection.

FAQ

What indexes does ftd-detector track?

ftd-detector tracks dual indexes—S&P 500 and NASDAQ—through a state machine for rally attempts, Follow-Through Day qualification, and post-FTD health monitoring using William O'Neil bottom-confirmation methodology.

When should traders invoke ftd-detector?

Traders invoke ftd-detector when evaluating market bottom signals, follow-through days, or re-entry timing after corrections. The skill confirms whether increasing equity exposure aligns with O'Neil FTD rules on dual major indexes.

Finance & Tradingagentsresearchautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.